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.001389/0.001389, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001472/0.001472, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.43/1.43, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001546/0.001546, allocations: 43.94 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2539, allocations: 52.18 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003585/0.2574, allocations: 1.916 MB / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2594, allocations: 1.099 MB / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2595, allocations: 3.938 kB / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.2602, allocations: 159.5 kB / 425.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.2605, allocations: 115.5 kB / 425.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.2611, allocations: 212.9 kB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.2614, allocations: 179.5 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2615, allocations: 17.73 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2616, allocations: 83.56 kB / 426.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.2617, allocations: 71.69 kB / 426.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.2618, allocations: 12 kB / 426.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.2619, allocations: 59.95 kB / 426.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.262, allocations: 47.78 kB / 426.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.2621, allocations: 71.53 kB / 426.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.2624, allocations: 203.6 kB / 426.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2624, allocations: 0 / 426.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2624, allocations: 0 / 426.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2624, allocations: 0 / 426.8 MB, free: 10.36 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.0008044/0.2632, allocations: 450.7 kB / 427.3 MB, free: 9.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2633, allocations: 12.03 kB / 427.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.2633, allocations: 34.75 kB / 427.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.2634, allocations: 20.8 kB / 427.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.2637, allocations: 217.2 kB / 427.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2637, allocations: 384 / 427.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.2637, allocations: 11.94 kB / 427.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.2641, allocations: 146.7 kB / 427.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2641, allocations: 0 / 427.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2641, allocations: 7.984 kB / 427.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.2641, allocations: 4 kB / 427.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.643e-05/0.2642, allocations: 27.98 kB / 427.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.2647, allocations: 337.5 kB / 428.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.2649, allocations: 99.89 kB / 428.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.265, allocations: 46.56 kB / 428.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.265, allocations: 7.984 kB / 428.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.2652, allocations: 75.28 kB / 428.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2652, allocations: 0 / 428.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003659/0.2656, allocations: 137.5 kB / 428.4 MB, free: 8.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.2657, allocations: 140.8 kB / 428.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.266, allocations: 272.8 kB / 428.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.266, allocations: 29.69 kB / 428.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.2661, allocations: 124.1 kB / 429 MB, free: 7.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.2661, allocations: 15.84 kB / 429 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.2662, allocations: 33.64 kB / 429 MB, free: 7.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2663, allocations: 326.8 kB / 429.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.2664, allocations: 27.98 kB / 429.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.349e-05/0.2665, allocations: 62 kB / 429.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2667, allocations: 84.25 kB / 429.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2667, allocations: 0 / 429.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002046/0.2669, allocations: 113.5 kB / 429.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2669, allocations: 8 kB / 429.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2669, allocations: 0 / 429.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2669, allocations: 0 / 429.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.267, allocations: 12 kB / 429.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.267, allocations: 128 / 429.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.2671, allocations: 19.88 kB / 429.7 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2671, allocations: 4 kB / 429.7 MB, free: 7.211 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.000136/0.2672, allocations: 146.1 kB / 429.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.2673, allocations: 61.55 kB / 429.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.2675, allocations: 111.3 kB / 430 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.2675, allocations: 0 / 430 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2676, allocations: 4.062 kB / 430 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.2676, allocations: 7.938 kB / 430 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.2678, allocations: 196.6 kB / 430.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2678, allocations: 0 / 430.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.2678, allocations: 4 kB / 430.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2678, allocations: 4 kB / 430.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2678, allocations: 4 kB / 430.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.2678, allocations: 11.88 kB / 430.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2678, allocations: 0 / 430.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.2681, allocations: 154.6 kB / 430.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.2682, allocations: 35.84 kB / 430.4 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.2682, allocations: 0 / 430.4 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.213e-05/0.2682, allocations: 4 kB / 430.4 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.2683, allocations: 15.92 kB / 430.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2683, allocations: 4 kB / 430.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.2685, allocations: 192.5 kB / 430.6 MB, free: 6.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2685, allocations: 4 kB / 430.6 MB, free: 6.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.2688, allocations: 31.94 kB / 430.7 MB, free: 6.148 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 (9): * Single equations (assignments): 7 * 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.00198/0.2707, allocations: 0.9953 MB / 431.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.271, allocations: 75.78 kB / 431.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.271, allocations: 0 / 431.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.2711, allocations: 27.98 kB / 431.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2715, allocations: 64.92 kB / 431.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.274, allocations: 1.924 MB / 433.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.2744, allocations: 0.7357 MB / 434.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.926e-05/0.2745, allocations: 29.72 kB / 434.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.806e-05/0.2746, allocations: 43.42 kB / 434.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2746, allocations: 0 / 434.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.3098, allocations: 4.717 MB / 439.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.12, allocations: 23.78 kB / 439.3 MB, free: 13.58 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.63274947903119]