Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.0012/0.0012, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001291/0.001291, allocations: 201.2 kB / 24.52 MB, free: 4.156 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.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 39.94 kB / 378.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2442, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00315/0.2474, allocations: 1.448 MB / 433.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002807/0.2477, allocations: 103.6 kB / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.2477, allocations: 0 / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.2478, allocations: 3.938 kB / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.2478, allocations: 7.922 kB / 433.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.248, allocations: 23.98 kB / 433.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.929e-05/0.2481, allocations: 27.92 kB / 433.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.2482, allocations: 11.97 kB / 433.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.16e-05/0.2482, allocations: 11.94 kB / 433.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.2483, allocations: 7.938 kB / 433.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.2483, allocations: 4 kB / 433.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.2483, allocations: 4 kB / 433.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.2483, allocations: 7.922 kB / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.2484, allocations: 15.88 kB / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.601e-05/0.2485, allocations: 31.69 kB / 433.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2485, allocations: 4 kB / 433.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2485, allocations: 0 / 433.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2485, allocations: 0 / 433.6 MB, free: 5.164 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.0004081/0.2489, allocations: 254.9 kB / 433.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2489, allocations: 15.97 kB / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.299e-05/0.2489, allocations: 192 / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.2491, allocations: 34.75 kB / 433.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.2491, allocations: 4.938 kB / 433.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2493, allocations: 122.4 kB / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.2493, allocations: 8.375 kB / 434.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2493, allocations: 384 / 434.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.2496, allocations: 99.62 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2496, allocations: 0 / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.2496, allocations: 0 / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2496, allocations: 8 kB / 434.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.2497, allocations: 19.92 kB / 434.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.2498, allocations: 120.8 kB / 434.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.2499, allocations: 50.59 kB / 434.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.25, allocations: 16.89 kB / 434.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.25, allocations: 0 / 434.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.25, allocations: 38.5 kB / 434.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.25, allocations: 0 / 434.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001924/0.2502, allocations: 73.56 kB / 434.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.2503, allocations: 55.41 kB / 434.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.2504, allocations: 105.8 kB / 434.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2504, allocations: 29.64 kB / 434.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.2505, allocations: 80.14 kB / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-06/0.2505, allocations: 0 / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.2505, allocations: 21.72 kB / 434.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2507, allocations: 314.8 kB / 435.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.2507, allocations: 8 kB / 435.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.2507, allocations: 23.44 kB / 435.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.2507, allocations: 39.38 kB / 435.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2507, allocations: 0 / 435.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.019e-05/0.2508, allocations: 57.56 kB / 435.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2508, allocations: 7.938 kB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2508, allocations: 288 / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2509, allocations: 4 kB / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.851e-05/0.2509, allocations: 8.047 kB / 435.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2509, allocations: 8.25 kB / 435.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.2509, allocations: 0 / 435.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2509, allocations: 8 kB / 435.2 MB, free: 3.34 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.871e-05/0.251, allocations: 109.8 kB / 435.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2511, allocations: 69.5 kB / 435.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.2511, allocations: 3.688 kB / 435.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2511, allocations: 4 kB / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2511, allocations: 0 / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2512, allocations: 4 kB / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.2512, allocations: 128.7 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2512, allocations: 0 / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.2513, allocations: 0 / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.2513, allocations: 3.938 kB / 435.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.2513, allocations: 4 kB / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2513, allocations: 0 / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.2513, allocations: 0 / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.2514, allocations: 77.12 kB / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.2514, allocations: 15.88 kB / 435.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.2514, allocations: 0 / 435.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.2514, allocations: 4 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.2514, allocations: 0 / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2515, allocations: 7.938 kB / 435.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.2515, allocations: 83.22 kB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2515, allocations: 0 / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001772/0.2517, allocations: 0 / 435.7 MB, free: 2.754 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0004561/0.2521, allocations: 0.628 MB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.2522, allocations: 23.92 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2522, allocations: 0 / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.2522, allocations: 0 / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.2524, allocations: 20.23 kB / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2535, allocations: 1.159 MB / 437.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.2538, allocations: 0.6846 MB / 438.3 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.722e-05/0.2539, allocations: 4 kB / 438.3 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.2539, allocations: 7.438 kB / 438.3 MB, free: 72 kB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2539, allocations: 0 / 438.3 MB, free: 72 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.2748, allocations: 1.379 MB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.6, allocations: 4.062 kB / 439.7 MB, free: 14.83 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.951338343031239]