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.001701/0.001701, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002127/0.002127, allocations: 215.4 kB / 23.74 MB, free: 4.656 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.001763/0.001763, allocations: 51.91 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3184, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003601/0.322, allocations: 1.935 MB / 433.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3243, allocations: 1.247 MB / 434.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.3245, allocations: 3.938 kB / 434.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.3252, allocations: 159.5 kB / 434.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.3257, allocations: 159.4 kB / 434.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.3263, allocations: 178.8 kB / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.3266, allocations: 191.5 kB / 435 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3267, allocations: 21.53 kB / 435 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3268, allocations: 83.69 kB / 435.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.327, allocations: 83.56 kB / 435.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.327, allocations: 8 kB / 435.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3271, allocations: 59.95 kB / 435.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.3272, allocations: 43.84 kB / 435.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.3273, allocations: 79.41 kB / 435.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.3277, allocations: 213 kB / 435.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3277, allocations: 0 / 435.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3277, allocations: 0 / 435.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3277, allocations: 0 / 435.6 MB, free: 2.41 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.0007959/0.3285, allocations: 450.7 kB / 436 MB, free: 1.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3285, allocations: 12.03 kB / 436 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.3286, allocations: 38.69 kB / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.3286, allocations: 28.78 kB / 436.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.329, allocations: 205.2 kB / 436.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.329, allocations: 4.375 kB / 436.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.329, allocations: 11.94 kB / 436.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.3293, allocations: 150.7 kB / 436.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3293, allocations: 3.938 kB / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3294, allocations: 0 / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3294, allocations: 0 / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3295, allocations: 35.92 kB / 436.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.33, allocations: 341.4 kB / 436.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.3302, allocations: 111.9 kB / 436.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.3303, allocations: 38.56 kB / 437 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3303, allocations: 4 kB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.3305, allocations: 83.31 kB / 437.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3305, allocations: 4 kB / 437.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.00037/0.3309, allocations: 137.5 kB / 437.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.331, allocations: 136.5 kB / 437.3 MB, free: 432 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.3313, allocations: 273 kB / 437.6 MB, free: 152 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.3313, allocations: 29.7 kB / 437.6 MB, free: 116 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.512e-05/0.3314, allocations: 112.1 kB / 437.7 MB, free: 0 / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3315, allocations: 20.33 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.3315, allocations: 33.67 kB / 437.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3317, allocations: 330.8 kB / 438.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.3317, allocations: 23.98 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3318, allocations: 73.88 kB / 438.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.332, allocations: 76.25 kB / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.332, allocations: 0 / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002172/0.3322, allocations: 109.5 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3322, allocations: 16.11 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3322, allocations: 0 / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3322, allocations: 4 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.3323, allocations: 12 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3323, allocations: 4 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.312e-05/0.3324, allocations: 15.67 kB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3324, allocations: 11.88 kB / 438.4 MB, free: 15.23 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.000146/0.3326, allocations: 145.8 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.3327, allocations: 65.56 kB / 438.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.3329, allocations: 107.6 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3329, allocations: 4 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3329, allocations: 4 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3329, allocations: 4 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.3331, allocations: 200.6 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3331, allocations: 0 / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.3332, allocations: 8 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3332, allocations: 0 / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.3332, allocations: 4 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3332, allocations: 4.062 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3332, allocations: 3.938 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.3334, allocations: 158.7 kB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.3335, allocations: 35.78 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3335, allocations: 0 / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.3336, allocations: 15.98 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.3337, allocations: 7.938 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3337, allocations: 7.938 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.3339, allocations: 200.5 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3339, allocations: 0 / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3341, allocations: 31.98 kB / 439.4 MB, free: 14.15 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 (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.001971/0.3361, allocations: 1 MB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.3363, allocations: 63.91 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3363, allocations: 0 / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.3364, allocations: 28.19 kB / 440.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3368, allocations: 65.92 kB / 440.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3393, allocations: 1.956 MB / 442.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3397, allocations: 0.732 MB / 443.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.987e-05/0.3398, allocations: 21.47 kB / 443.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.525e-05/0.3399, allocations: 51.41 kB / 443.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3399, allocations: 0 / 443.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.3747, allocations: 4.812 MB / 448.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.59, allocations: 6.641 kB / 448.2 MB, free: 5.477 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.283628684002906]