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.001463/0.001463, 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.001617/0.001617, allocations: 211.3 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.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 7.789 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 43.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2713, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002605/0.274, allocations: 1.451 MB / 432.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002722/0.2742, allocations: 103.7 kB / 432.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.2743, allocations: 3.938 kB / 432.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.2743, allocations: 0 / 432.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.2743, allocations: 7.938 kB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.2746, allocations: 27.91 kB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.827e-05/0.2746, allocations: 27.92 kB / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.2747, allocations: 7.797 kB / 432.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.2748, allocations: 11.94 kB / 432.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.083e-05/0.2748, allocations: 11.92 kB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2748, allocations: 4 kB / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-06/0.2748, allocations: 0 / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.2748, allocations: 7.984 kB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.2749, allocations: 11.94 kB / 432.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.864e-05/0.2749, allocations: 19.91 kB / 432.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.275, allocations: 4 kB / 432.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.275, allocations: 0 / 432.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.275, allocations: 3.938 kB / 432.8 MB, free: 4.949 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.0003654/0.2753, allocations: 264.2 kB / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2754, allocations: 12.03 kB / 433 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.2754, allocations: 30.75 kB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.2754, allocations: 4.938 kB / 433.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.2756, allocations: 122.4 kB / 433.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2756, allocations: 4.375 kB / 433.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2756, allocations: 8.312 kB / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.2759, allocations: 107.8 kB / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2759, allocations: 3.938 kB / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2759, allocations: 0 / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2759, allocations: 0 / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.853e-05/0.276, allocations: 15.98 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.2761, allocations: 124.8 kB / 433.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.2763, allocations: 50.53 kB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.2763, allocations: 16.89 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.2763, allocations: 0 / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2763, allocations: 42.55 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2763, allocations: 0 / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001903/0.2765, allocations: 69.56 kB / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.2766, allocations: 51.41 kB / 433.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.2767, allocations: 105.8 kB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.2767, allocations: 25.7 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.2767, allocations: 84.14 kB / 433.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/0.2767, allocations: 8 kB / 433.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.2768, allocations: 13.72 kB / 433.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2769, allocations: 318.8 kB / 434.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.2769, allocations: 4 kB / 434.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/0.2769, allocations: 31.38 kB / 434.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.277, allocations: 35.61 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.277, allocations: 0 / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.714e-05/0.2771, allocations: 61.64 kB / 434.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2771, allocations: 7.938 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2771, allocations: 0 / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2771, allocations: 4 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.924e-05/0.2771, allocations: 3.984 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2772, allocations: 4 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.2772, allocations: 0 / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.2772, allocations: 4 kB / 434.4 MB, free: 3.121 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.885e-05/0.2773, allocations: 113.9 kB / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2774, allocations: 61.58 kB / 434.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.2774, allocations: 3.688 kB / 434.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2774, allocations: 11.88 kB / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2774, allocations: 0 / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2774, allocations: 0 / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2775, allocations: 124.8 kB / 434.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2775, allocations: 0 / 434.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.2775, allocations: 0 / 434.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.2775, allocations: 7.938 kB / 434.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2775, allocations: 3.984 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2775, allocations: 4 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2775, allocations: 0 / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2777, allocations: 81.06 kB / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.2777, allocations: 7.953 kB / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2777, allocations: 4.312 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.2777, allocations: 4 kB / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-06/0.2777, allocations: 3.984 kB / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2777, allocations: 0 / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.397e-05/0.2778, allocations: 79.28 kB / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2778, allocations: 0 / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001905/0.278, allocations: 12 kB / 434.9 MB, free: 2.527 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.0004272/0.2784, allocations: 0.6281 MB / 435.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.387e-05/0.2785, allocations: 19.98 kB / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2785, allocations: 0 / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2785, allocations: 0 / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.2787, allocations: 22.03 kB / 435.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009441/0.2796, allocations: 1.15 MB / 436.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.2797, allocations: 63.34 kB / 436.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.435e-05/0.2797, allocations: 3.984 kB / 436.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.2797, allocations: 7.531 kB / 436.8 MB, free: 496 kB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2797, allocations: 7.938 kB / 436.8 MB, free: 488 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.3057, allocations: 1.751 MB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.56, allocations: 7.109 kB / 438.5 MB, free: 14.84 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.863761951011838]