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.001211/0.001211, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001333/0.001333, allocations: 218 kB / 24.52 MB, free: 3.91 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.377/1.377, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001411/0.001411, allocations: 51.92 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2747, allocations: 53.35 MB / 431.8 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002787/0.2775, allocations: 1.451 MB / 433.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003071/0.2778, allocations: 99.62 kB / 433.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.2779, allocations: 4 kB / 433.4 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.2779, allocations: 7.922 kB / 433.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.278, allocations: 3.938 kB / 433.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.2782, allocations: 23.97 kB / 433.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.2783, allocations: 31.86 kB / 433.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2784, allocations: 7.984 kB / 433.5 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.2785, allocations: 8 kB / 433.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.2785, allocations: 15.92 kB / 433.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2785, allocations: 0 / 433.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2785, allocations: 4 kB / 433.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.2785, allocations: 3.938 kB / 433.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.2786, allocations: 11.94 kB / 433.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.61e-05/0.2787, allocations: 27.89 kB / 433.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2787, allocations: 0 / 433.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2787, allocations: 0 / 433.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2787, allocations: 4 kB / 433.5 MB, free: 4.945 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.0004615/0.2792, allocations: 260.6 kB / 433.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2792, allocations: 8.031 kB / 433.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.992e-05/0.2792, allocations: 12.11 kB / 433.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.2793, allocations: 30.75 kB / 433.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.2793, allocations: 0.9375 kB / 433.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.2795, allocations: 126.4 kB / 434 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2795, allocations: 384 / 434 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2795, allocations: 4.375 kB / 434 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.2799, allocations: 107.6 kB / 434.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2799, allocations: 0 / 434.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2799, allocations: 0 / 434.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2799, allocations: 0 / 434.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.2799, allocations: 12 kB / 434.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.2801, allocations: 132.6 kB / 434.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2802, allocations: 42.56 kB / 434.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.2803, allocations: 24.92 kB / 434.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2803, allocations: 0 / 434.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2804, allocations: 42.5 kB / 434.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2804, allocations: 0 / 434.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002366/0.2806, allocations: 69.56 kB / 434.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.2807, allocations: 55.34 kB / 434.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.2808, allocations: 109.8 kB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.2808, allocations: 25.7 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.2808, allocations: 80.14 kB / 434.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.2808, allocations: 8 kB / 434.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.2809, allocations: 17.72 kB / 434.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.281, allocations: 314.8 kB / 435 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.281, allocations: 3.984 kB / 435 MB, free: 3.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.2811, allocations: 31.44 kB / 435 MB, free: 3.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.2811, allocations: 27.38 kB / 435.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2811, allocations: 4 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.4e-05/0.2812, allocations: 61.62 kB / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2812, allocations: 7.938 kB / 435.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2812, allocations: 3.938 kB / 435.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2812, allocations: 4 kB / 435.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.2813, allocations: 0 / 435.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2813, allocations: 4 kB / 435.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.2813, allocations: 0 / 435.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.2813, allocations: 3.984 kB / 435.1 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 9.631e-05/0.2814, allocations: 109.8 kB / 435.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.2815, allocations: 65.98 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.2815, allocations: 11.66 kB / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2815, allocations: 0 / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2815, allocations: 4 kB / 435.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2815, allocations: 0 / 435.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.2816, allocations: 124.8 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2816, allocations: 0 / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.2817, allocations: 0 / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.2817, allocations: 3.938 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2817, allocations: 4 kB / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2817, allocations: 0 / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2817, allocations: 4 kB / 435.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.2818, allocations: 77.11 kB / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.2818, allocations: 11.89 kB / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2818, allocations: 4.25 kB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.2818, allocations: 11.88 kB / 435.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-06/0.2818, allocations: 4 kB / 435.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2818, allocations: 0 / 435.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.482e-05/0.2819, allocations: 87.2 kB / 435.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2819, allocations: 0 / 435.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.2821, allocations: 8 kB / 435.7 MB, free: 2.52 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.0004671/0.2826, allocations: 0.6163 MB / 436.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2827, allocations: 27.92 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2827, allocations: 0 / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.2827, allocations: 0 / 436.3 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.0002318/0.2829, allocations: 25.78 kB / 436.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.284, allocations: 1.15 MB / 437.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.799e-05/0.2841, allocations: 71.33 kB / 437.6 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.443e-05/0.2841, allocations: 0 / 437.6 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.2841, allocations: 15.42 kB / 437.6 MB, free: 480 kB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2841, allocations: 0 / 437.6 MB, free: 480 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.3061, allocations: 1.394 MB / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.67, allocations: 10.55 kB / 439 MB, free: 15.21 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.034718379029073]