Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001885/0.001885, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002435/0.002435, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 43.94 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2583, allocations: 53.36 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003758/0.2621, allocations: 1.882 MB / 433 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.2643, allocations: 1.231 MB / 434.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.2645, allocations: 7.938 kB / 434.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.2648, allocations: 63.67 kB / 434.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.2652, allocations: 131.4 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.2661, allocations: 246.3 kB / 434.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.2663, allocations: 175.5 kB / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2664, allocations: 21.73 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2666, allocations: 75.64 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.2667, allocations: 91.59 kB / 435 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.2667, allocations: 8 kB / 435 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.2669, allocations: 71.95 kB / 435.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.31e-05/0.267, allocations: 51.81 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.2671, allocations: 67.48 kB / 435.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.2675, allocations: 252.6 kB / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2675, allocations: 0 / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2675, allocations: 0 / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2675, allocations: 0 / 435.4 MB, free: 2.301 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.0007802/0.2683, allocations: 474.5 kB / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2683, allocations: 12.03 kB / 435.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.2684, allocations: 38.73 kB / 435.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.2684, allocations: 24.8 kB / 436 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.2688, allocations: 229.5 kB / 436.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2689, allocations: 4.375 kB / 436.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.2689, allocations: 11.94 kB / 436.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.2693, allocations: 180.4 kB / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2693, allocations: 0 / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2693, allocations: 4 kB / 436.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2693, allocations: 0 / 436.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.2694, allocations: 39.97 kB / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.27, allocations: 349.5 kB / 436.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.2702, allocations: 115.9 kB / 436.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.179e-05/0.2703, allocations: 42.56 kB / 436.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2703, allocations: 8 kB / 436.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.2705, allocations: 79.31 kB / 437 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2705, allocations: 3.938 kB / 437 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004103/0.2709, allocations: 161.4 kB / 437.2 MB, free: 364 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.271, allocations: 136.5 kB / 437.3 MB, free: 196 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.2714, allocations: 341.7 kB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.2714, allocations: 33.7 kB / 437.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2715, allocations: 132 kB / 437.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.2716, allocations: 19.83 kB / 437.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.2716, allocations: 29.72 kB / 437.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2718, allocations: 334.8 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.2718, allocations: 27.98 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.272, allocations: 133.6 kB / 438.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2721, allocations: 88.22 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2721, allocations: 0 / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002454/0.2724, allocations: 129.4 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2724, allocations: 8 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2724, allocations: 4.156 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2724, allocations: 0 / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2725, allocations: 23.98 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2725, allocations: 0 / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.2726, allocations: 7.938 kB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2726, allocations: 4 kB / 438.6 MB, free: 14.82 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.0001529/0.2728, allocations: 165.6 kB / 438.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2729, allocations: 69.5 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.2732, allocations: 131.4 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2732, allocations: 3.984 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2732, allocations: 0 / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2732, allocations: 3.938 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.2734, allocations: 205.1 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2734, allocations: 0 / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.2735, allocations: 19.98 kB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2735, allocations: 0 / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2735, allocations: 4 kB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2735, allocations: 0 / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2735, allocations: 3.938 kB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.2738, allocations: 182.5 kB / 439.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.2739, allocations: 43.83 kB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.2739, allocations: 96 / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.274, allocations: 11.94 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.274, allocations: 11.92 kB / 439.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.274, allocations: 4 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.2743, allocations: 253.2 kB / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2743, allocations: 0 / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.2745, allocations: 31.94 kB / 439.7 MB, free: 13.61 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.00212/0.2767, allocations: 1.054 MB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.2769, allocations: 75.89 kB / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2769, allocations: 0 / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.277, allocations: 35.92 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.2774, allocations: 63.83 kB / 440.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.2801, allocations: 2.238 MB / 443.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2802, allocations: 131.9 kB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.872e-05/0.2803, allocations: 29.62 kB / 443.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2804, allocations: 63.41 kB / 443.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2804, allocations: 4 kB / 443.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.3141, allocations: 6.09 MB / 449.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.74, allocations: 2.406 kB / 449.5 MB, free: 3.918 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.231205402000342]