Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 211.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.384/1.384, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 55.91 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2481, allocations: 53.35 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002584/0.2507, allocations: 1.472 MB / 432.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001732/0.2509, allocations: 31.91 kB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.2509, allocations: 3.938 kB / 432.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.2509, allocations: 0 / 432.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.251, allocations: 3.938 kB / 432.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.2512, allocations: 23.97 kB / 432.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.2513, allocations: 27.92 kB / 432.6 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.2514, allocations: 15.94 kB / 432.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.2514, allocations: 11.94 kB / 432.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.2515, allocations: 15.92 kB / 432.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2515, allocations: 4 kB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.2515, allocations: 0 / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.2515, allocations: 11.98 kB / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.2515, allocations: 7.922 kB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.076e-05/0.2516, allocations: 41.45 kB / 432.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2516, allocations: 0 / 432.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2516, allocations: 0 / 432.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2516, allocations: 4 kB / 432.8 MB, free: 4.957 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003878/0.252, allocations: 270.3 kB / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2521, allocations: 12.03 kB / 433 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.2521, allocations: 30.75 kB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.2521, allocations: 8.891 kB / 433.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.2523, allocations: 122.5 kB / 433.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.2523, allocations: 4.375 kB / 433.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-06/0.2523, allocations: 384 / 433.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.2527, allocations: 131.8 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2527, allocations: 3.938 kB / 433.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2527, allocations: 3.984 kB / 433.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2527, allocations: 0 / 433.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.2528, allocations: 27.97 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.253, allocations: 128.7 kB / 433.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.2531, allocations: 54.55 kB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.2532, allocations: 24.92 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.2532, allocations: 0 / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.2532, allocations: 38.5 kB / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2532, allocations: 4 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002806/0.2535, allocations: 81.53 kB / 433.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.2536, allocations: 55.41 kB / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.2536, allocations: 105.8 kB / 433.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2537, allocations: 29.7 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.2537, allocations: 80.14 kB / 433.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.2537, allocations: 4 kB / 433.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.2537, allocations: 13.72 kB / 434 MB, free: 3.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2539, allocations: 322.8 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.2539, allocations: 4 kB / 434.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.2539, allocations: 31.38 kB / 434.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.254, allocations: 39.42 kB / 434.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.254, allocations: 0 / 434.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.205e-05/0.2541, allocations: 61.53 kB / 434.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2541, allocations: 11.88 kB / 434.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2541, allocations: 7.984 kB / 434.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2541, allocations: 4.125 kB / 434.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.2541, allocations: 8 kB / 434.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2541, allocations: 0 / 434.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.2542, allocations: 8 kB / 434.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.2542, allocations: 0 / 434.4 MB, free: 3.035 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/0.2543, allocations: 113.8 kB / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.2544, allocations: 69.61 kB / 434.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.2544, allocations: 11.98 kB / 434.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2544, allocations: 0 / 434.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2544, allocations: 0 / 434.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2544, allocations: 384 / 434.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.642e-05/0.2545, allocations: 128.7 kB / 434.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2545, allocations: 4 kB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.2546, allocations: 8 kB / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2546, allocations: 7.938 kB / 434.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2546, allocations: 7.938 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2546, allocations: 0 / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2546, allocations: 0 / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.2548, allocations: 97.25 kB / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.2548, allocations: 7.953 kB / 434.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2548, allocations: 3.938 kB / 434.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.2548, allocations: 8 kB / 434.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-06/0.2548, allocations: 3.984 kB / 434.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2549, allocations: 0 / 434.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.2549, allocations: 83.28 kB / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2549, allocations: 0 / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000184/0.2551, allocations: 4 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005482/0.2556, allocations: 0.6514 MB / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.2557, allocations: 23.98 kB / 435.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2558, allocations: 320 / 435.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.2558, allocations: 4 kB / 435.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.256, allocations: 30.53 kB / 435.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.257, allocations: 1.18 MB / 436.9 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.2571, allocations: 67.33 kB / 437 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.617e-05/0.2571, allocations: 3.938 kB / 437 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.2572, allocations: 15.44 kB / 437 MB, free: 292 kB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2572, allocations: 0 / 437 MB, free: 292 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.2832, allocations: 1.933 MB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.58, allocations: 6.984 kB / 438.9 MB, free: 14.48 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.8743379630032]