Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001273/0.001273, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001412/0.001412, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.38/1.38, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 51.92 kB / 377.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2514, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003514/0.2549, allocations: 1.886 MB / 433 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.257, allocations: 1.154 MB / 434.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2571, allocations: 3.938 kB / 434.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.2577, allocations: 163.4 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.2581, allocations: 163.4 kB / 434.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.2586, allocations: 186.4 kB / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.2589, allocations: 187.5 kB / 434.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.259, allocations: 25.72 kB / 434.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2591, allocations: 75.64 kB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.2592, allocations: 87.61 kB / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.2593, allocations: 8 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.2594, allocations: 59.95 kB / 435.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.2595, allocations: 43.84 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.2595, allocations: 55.61 kB / 435.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.2599, allocations: 215.5 kB / 435.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2599, allocations: 0 / 435.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2599, allocations: 0 / 435.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2599, allocations: 0 / 435.4 MB, free: 2.359 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.0007489/0.2606, allocations: 450.7 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2607, allocations: 12.02 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.2607, allocations: 34.75 kB / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.2607, allocations: 24.8 kB / 435.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.2611, allocations: 217.1 kB / 436.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2611, allocations: 4.375 kB / 436.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.2611, allocations: 11.94 kB / 436.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.2615, allocations: 133.9 kB / 436.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2615, allocations: 0 / 436.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2615, allocations: 4 kB / 436.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2615, allocations: 4 kB / 436.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.2616, allocations: 39.91 kB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.2621, allocations: 325.5 kB / 436.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.2623, allocations: 111.8 kB / 436.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.2624, allocations: 38.56 kB / 436.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2624, allocations: 4 kB / 436.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.2626, allocations: 71.39 kB / 436.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2626, allocations: 4 kB / 436.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003757/0.263, allocations: 153.4 kB / 437 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.263, allocations: 106.8 kB / 437.1 MB, free: 436 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.2633, allocations: 273 kB / 437.3 MB, free: 156 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2633, allocations: 29.7 kB / 437.4 MB, free: 120 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.2634, allocations: 116.1 kB / 437.5 MB, free: 0 / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.2635, allocations: 24.08 kB / 437.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.2635, allocations: 37.59 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2637, allocations: 327.1 kB / 437.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.2637, allocations: 23.98 kB / 437.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2638, allocations: 94.78 kB / 438 MB, free: 15.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.264, allocations: 88.41 kB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.264, allocations: 0 / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002065/0.2642, allocations: 113.6 kB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2642, allocations: 8.031 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2642, allocations: 4 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2642, allocations: 0 / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.2643, allocations: 19.92 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2643, allocations: 0 / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/0.2644, allocations: 11.88 kB / 438.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2644, allocations: 7.984 kB / 438.2 MB, free: 15.19 MB / 350.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.0001355/0.2645, allocations: 141.8 kB / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.2646, allocations: 77.52 kB / 438.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.2649, allocations: 111.3 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2649, allocations: 4 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2649, allocations: 0 / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2649, allocations: 3.938 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2651, allocations: 188.6 kB / 438.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2651, allocations: 4 kB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.2651, allocations: 4 kB / 438.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2651, allocations: 0 / 438.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2651, allocations: 8 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2651, allocations: 0 / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2651, allocations: 4.031 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.2654, allocations: 162.6 kB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.2655, allocations: 39.78 kB / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.2655, allocations: 3.938 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.2656, allocations: 12.05 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.2656, allocations: 15.92 kB / 439 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2656, allocations: 7.984 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.2658, allocations: 200.5 kB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2658, allocations: 4 kB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.2661, allocations: 24 kB / 439.2 MB, free: 14.11 MB / 350.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.002041/0.2681, allocations: 1.035 MB / 440.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.2683, allocations: 67.91 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2683, allocations: 0 / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.889e-05/0.2684, allocations: 35.86 kB / 440.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.2688, allocations: 67.48 kB / 440.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.2712, allocations: 1.97 MB / 442.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.2713, allocations: 127.2 kB / 442.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.283e-05/0.2714, allocations: 25.62 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.2715, allocations: 51.42 kB / 442.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2715, allocations: 0 / 442.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.3039, allocations: 5.38 MB / 448 MB, free: 5.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.67, allocations: 6.562 kB / 448 MB, free: 5.445 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.047036605014]