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.001656/0.001656, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002087/0.002087, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001659/0.001659, allocations: 39.94 kB / 377.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2655, allocations: 53.38 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00299/0.2685, allocations: 1.44 MB / 432.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003223/0.2688, allocations: 103.6 kB / 432.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.2689, allocations: 4 kB / 432.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.2689, allocations: 3.938 kB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.305e-05/0.269, allocations: 7.922 kB / 432.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.2692, allocations: 27.91 kB / 432.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.2693, allocations: 27.92 kB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.2694, allocations: 7.984 kB / 432.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.2695, allocations: 11.94 kB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.2695, allocations: 11.92 kB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2695, allocations: 0 / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.2695, allocations: 4 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.2695, allocations: 4 kB / 432.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.2696, allocations: 7.938 kB / 432.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.887e-05/0.2697, allocations: 31.69 kB / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2697, allocations: 4 kB / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2697, allocations: 0 / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2697, allocations: 4 kB / 432.8 MB, free: 4.938 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.0004249/0.2701, allocations: 258.9 kB / 433 MB, free: 4.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2701, allocations: 8.031 kB / 433 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.2702, allocations: 38.69 kB / 433.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.2702, allocations: 4.938 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.2704, allocations: 122.4 kB / 433.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2704, allocations: 8.375 kB / 433.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.2704, allocations: 384 / 433.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.2707, allocations: 99.88 kB / 433.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2707, allocations: 7.938 kB / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.2707, allocations: 0 / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2707, allocations: 0 / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.77e-05/0.2708, allocations: 15.98 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.271, allocations: 120.8 kB / 433.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2711, allocations: 54.42 kB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.2711, allocations: 16.89 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2712, allocations: 8 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2712, allocations: 34.59 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2712, allocations: 0 / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.2714, allocations: 69.52 kB / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.2714, allocations: 55.41 kB / 433.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.892e-05/0.2715, allocations: 101.8 kB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2715, allocations: 29.7 kB / 433.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.2716, allocations: 84.14 kB / 433.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-06/0.2716, allocations: 0 / 433.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.2716, allocations: 17.72 kB / 433.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2718, allocations: 318.8 kB / 434.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.2718, allocations: 4 kB / 434.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.2718, allocations: 31.38 kB / 434.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/0.2719, allocations: 39.36 kB / 434.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2719, allocations: 0 / 434.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.343e-05/0.2719, allocations: 53.73 kB / 434.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.272, allocations: 7.938 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.272, allocations: 4 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.272, allocations: 0 / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.272, allocations: 11.92 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.272, allocations: 0 / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.272, allocations: 0 / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.272, 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 8.794e-05/0.2721, allocations: 113.8 kB / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/0.2722, allocations: 53.86 kB / 434.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.2723, allocations: 19.75 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2723, allocations: 0 / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2723, allocations: 0 / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2723, allocations: 0 / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.2724, allocations: 128.7 kB / 434.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2724, allocations: 256 / 434.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.2724, allocations: 8 kB / 434.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.2724, allocations: 7.922 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.2724, allocations: 3.938 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2724, allocations: 0 / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2724, allocations: 3.984 kB / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.2725, allocations: 81.12 kB / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.2726, allocations: 3.953 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.2726, allocations: 7.938 kB / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.2726, allocations: 3.984 kB / 434.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-06/0.2726, allocations: 0 / 434.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.2726, allocations: 0 / 434.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.969e-05/0.2726, allocations: 83.28 kB / 434.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2726, allocations: 0 / 434.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.2728, allocations: 4 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.0004588/0.2733, allocations: 0.6279 MB / 435.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.2734, allocations: 23.92 kB / 435.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2734, allocations: 0 / 435.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2734, allocations: 0 / 435.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.2736, allocations: 18.34 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.001015/0.2746, allocations: 1.154 MB / 436.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.2747, allocations: 63.59 kB / 436.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.636e-05/0.2747, allocations: 7.984 kB / 436.8 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.2747, allocations: 15.44 kB / 436.8 MB, free: 480 kB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2747, allocations: 0 / 436.8 MB, free: 480 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.3022, allocations: 1.723 MB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.78, allocations: 14.53 kB / 438.5 MB, free: 14.86 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: 13.143226756248623]