Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 193 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 370.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2529, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003341/0.2562, allocations: 1.869 MB / 424.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.2581, allocations: 1.017 MB / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2583, allocations: 3.938 kB / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.2589, allocations: 159.5 kB / 425.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.2593, allocations: 115.5 kB / 425.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.2599, allocations: 202.9 kB / 425.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.2601, allocations: 187.5 kB / 426.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2602, allocations: 17.73 kB / 426.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.2604, allocations: 83.62 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2606, allocations: 71.67 kB / 426.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2606, allocations: 8 kB / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.2608, allocations: 59.97 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.2608, allocations: 47.77 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.591e-05/0.2609, allocations: 51.61 kB / 426.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.2612, allocations: 199.6 kB / 426.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2612, allocations: 0 / 426.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2612, allocations: 11.88 kB / 426.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2613, allocations: 0 / 426.6 MB, free: 10.32 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007584/0.262, allocations: 446.7 kB / 427.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2621, allocations: 12.03 kB / 427.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.2621, allocations: 34.75 kB / 427.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.2621, allocations: 24.78 kB / 427.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.2625, allocations: 205.2 kB / 427.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2625, allocations: 4.375 kB / 427.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.2625, allocations: 15.94 kB / 427.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.2629, allocations: 143.9 kB / 427.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2629, allocations: 0 / 427.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2629, allocations: 4 kB / 427.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2629, allocations: 0 / 427.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.263, allocations: 35.97 kB / 427.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.2635, allocations: 333.5 kB / 427.9 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.2637, allocations: 111.9 kB / 428 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.2638, allocations: 38.56 kB / 428 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2638, allocations: 4 kB / 428 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.264, allocations: 83.27 kB / 428.1 MB, free: 8.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.264, allocations: 0 / 428.1 MB, free: 8.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000359/0.2644, allocations: 141.5 kB / 428.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.2645, allocations: 111.1 kB / 428.4 MB, free: 8.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.2647, allocations: 268.9 kB / 428.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.2648, allocations: 29.64 kB / 428.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.2649, allocations: 120.1 kB / 428.8 MB, free: 7.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.2649, allocations: 15.89 kB / 428.8 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.2649, allocations: 25.72 kB / 428.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.2651, allocations: 330.8 kB / 429.1 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.2652, allocations: 23.98 kB / 429.2 MB, free: 7.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2653, allocations: 86.84 kB / 429.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.2655, allocations: 84.25 kB / 429.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2655, allocations: 3.938 kB / 429.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002152/0.2657, allocations: 113.5 kB / 429.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2657, allocations: 8 kB / 429.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2657, allocations: 0 / 429.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2657, allocations: 4 kB / 429.4 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.2658, allocations: 20.11 kB / 429.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2658, allocations: 4 kB / 429.5 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.2659, allocations: 15.83 kB / 429.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.2659, allocations: 4 kB / 429.5 MB, free: 7.176 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.000158/0.2661, allocations: 146.1 kB / 429.6 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.2661, allocations: 57.59 kB / 429.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.2664, allocations: 123.2 kB / 429.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2664, allocations: 0 / 429.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.2664, allocations: 4 kB / 429.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.2664, allocations: 8 kB / 429.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2666, allocations: 184.8 kB / 430 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2666, allocations: 4 kB / 430 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.2666, allocations: 4 kB / 430 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2666, allocations: 0 / 430 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2667, allocations: 7.984 kB / 430 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2667, allocations: 3.938 kB / 430 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2667, allocations: 0 / 430 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.2669, allocations: 162.6 kB / 430.2 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.267, allocations: 39.81 kB / 430.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.267, allocations: 4 kB / 430.2 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.2671, allocations: 8 kB / 430.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.2671, allocations: 11.92 kB / 430.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2671, allocations: 4 kB / 430.2 MB, free: 6.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.2673, allocations: 196.5 kB / 430.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2673, allocations: 0 / 430.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.2676, allocations: 24 kB / 430.5 MB, free: 6.113 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002105/0.2697, allocations: 1.039 MB / 431.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.2699, allocations: 79.88 kB / 431.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2699, allocations: 3.938 kB / 431.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.27, allocations: 27.98 kB / 431.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.2704, allocations: 67.03 kB / 431.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.2727, allocations: 1.945 MB / 433.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.2729, allocations: 119.2 kB / 433.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.899e-05/0.273, allocations: 17.48 kB / 433.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2731, allocations: 51.42 kB / 433.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2731, allocations: 4 kB / 433.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.3103, allocations: 5.265 MB / 439.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.8, allocations: 5.469 kB / 439.1 MB, free: 13.59 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.171574213076383]