Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8873/0.8873, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.025e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001851/0.001871, allocations: 1.455 MB / 326 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002198/0.002091, allocations: 99.61 kB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.002144, allocations: 3.938 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.002169, allocations: 4 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.263e-05/0.002202, allocations: 3.938 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.002413, allocations: 23.47 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.002488, allocations: 23.92 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.002577, allocations: 12 kB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.002617, allocations: 15.92 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.555e-05/0.002643, allocations: 7.984 kB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.002664, allocations: 0 / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-06/0.002671, allocations: 4 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.002688, allocations: 3.984 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.002714, allocations: 11.94 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.645e-05/0.00279, allocations: 27.84 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.002794, allocations: 4 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.002795, allocations: 0 / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.002798, allocations: 0 / 326.2 MB, free: 14.19 MB / 298.7 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.0003186/0.003117, allocations: 266.3 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.003155, allocations: 11.98 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.003182, allocations: 34.75 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.828e-05/0.003201, allocations: 0.9375 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.003373, allocations: 129.7 kB / 326.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.003392, allocations: 384 / 326.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.003403, allocations: 12.31 kB / 326.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.003623, allocations: 99.88 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.003629, allocations: 192 / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-06/0.003638, allocations: 384 / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.003644, allocations: 4.125 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.003686, allocations: 23.91 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.135e-05/0.003778, allocations: 124.8 kB / 326.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.692e-05/0.003865, allocations: 46.58 kB / 326.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.003896, allocations: 20.86 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.003911, allocations: 0 / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.003928, allocations: 34.56 kB / 327 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.42e-07/0.003928, allocations: 0 / 327 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001495/0.004078, allocations: 77.55 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.004112, allocations: 55.34 kB / 327.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.144e-05/0.004163, allocations: 109.8 kB / 327.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.004171, allocations: 25.7 kB / 327.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.004197, allocations: 84.14 kB / 327.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.004199, allocations: 0 / 327.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.004217, allocations: 13.72 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.004294, allocations: 310.8 kB / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.004298, allocations: 4 kB / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-06/0.004302, allocations: 0 / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.887e-05/0.00432, allocations: 75.28 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/0.004338, allocations: 79.27 kB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.57e-05/0.004374, allocations: 33.64 kB / 327.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.0044, allocations: 83.28 kB / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.004417, allocations: 75.28 kB / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-05/0.004462, allocations: 158.5 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.605e-05/0.004478, allocations: 79.22 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/0.00451, allocations: 158.5 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.004552, allocations: 83.22 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.004568, allocations: 79.27 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 6.666e-05/0.004635, allocations: 189.1 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.0047, allocations: 53.62 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.004722, allocations: 7.688 kB / 328.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004724, allocations: 3.938 kB / 328.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.004728, allocations: 3.938 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.004731, allocations: 0 / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.314e-05/0.004784, allocations: 124.7 kB / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.004787, allocations: 0 / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.00483, allocations: 8 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.004833, allocations: 0 / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.004838, allocations: 4 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.00484, allocations: 0 / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.004843, allocations: 7.938 kB / 328.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.022e-05/0.004913, allocations: 73.11 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.004919, allocations: 4.281 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-06/0.004928, allocations: 3.938 kB / 329 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.004937, allocations: 4 kB / 329 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-06/0.004941, allocations: 7.922 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.004948, allocations: 4.25 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.603e-05/0.004974, allocations: 91.27 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004974, allocations: 0 / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000134/0.005108, allocations: 0 / 329.1 MB, free: 10.98 MB / 298.7 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.0002428/0.005351, allocations: 0.6202 MB / 329.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.119e-05/0.005402, allocations: 11.94 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005403, allocations: 0 / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.005403, allocations: 0 / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.005585, allocations: 19.92 kB / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.006239, allocations: 1.364 MB / 331.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.006276, allocations: 63.34 kB / 331.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.18e-05/0.006288, allocations: 0 / 331.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.00632, allocations: 16.48 kB / 331.2 MB, free: 8.754 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00632, allocations: 4 kB / 331.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.01945, allocations: 1.807 MB / 333 MB, free: 7.043 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/6.665, allocations: 8 kB / 333 MB, free: 7.035 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.308176951482892]