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.001356/0.001356, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001401/0.001401, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001568/0.001568, allocations: 55.86 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2543, allocations: 53.35 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003378/0.2577, allocations: 1.893 MB / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.2597, allocations: 1.157 MB / 434.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2598, allocations: 7.938 kB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006012/0.2604, allocations: 155.5 kB / 434.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.2608, allocations: 163.4 kB / 434.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.2613, allocations: 178.4 kB / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2615, allocations: 199.4 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.2616, allocations: 21.53 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2617, allocations: 83.7 kB / 434.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.2619, allocations: 75.56 kB / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.2619, allocations: 12 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.262, allocations: 59.94 kB / 435.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.2621, allocations: 43.84 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.2622, allocations: 51.67 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2625, allocations: 216.9 kB / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2625, allocations: 4 kB / 435.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2625, allocations: 0 / 435.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2625, allocations: 0 / 435.4 MB, free: 2.348 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.0006977/0.2632, allocations: 446.8 kB / 435.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2632, allocations: 8.031 kB / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.2632, allocations: 42.67 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.2633, allocations: 24.8 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.2636, allocations: 209.1 kB / 436.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2636, allocations: 4.375 kB / 436.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.2637, allocations: 15.92 kB / 436.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.264, allocations: 137.9 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.264, allocations: 0 / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.264, allocations: 4 kB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.264, allocations: 0 / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.2641, allocations: 35.92 kB / 436.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.2646, allocations: 333.4 kB / 436.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.2648, allocations: 107.9 kB / 436.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.65e-05/0.2649, allocations: 46.56 kB / 436.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2649, allocations: 0 / 436.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.2651, allocations: 75.39 kB / 436.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2651, allocations: 3.938 kB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003804/0.2655, allocations: 153.6 kB / 437 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.2656, allocations: 102.8 kB / 437.1 MB, free: 424 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.2659, allocations: 277 kB / 437.3 MB, free: 140 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.2659, allocations: 29.95 kB / 437.4 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.266, allocations: 120.3 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.266, allocations: 15.89 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.2661, allocations: 33.67 kB / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2662, allocations: 330.8 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.2663, allocations: 19.98 kB / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.2664, allocations: 98.72 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2666, allocations: 80.25 kB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2666, allocations: 4 kB / 438.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002087/0.2668, allocations: 113.5 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2668, allocations: 8 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2668, allocations: 0 / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2668, allocations: 7.938 kB / 438.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.2669, allocations: 11.98 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2669, allocations: 4 kB / 438.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.267, allocations: 15.95 kB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.267, allocations: 12 kB / 438.2 MB, free: 15.18 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.0001358/0.2671, allocations: 145.8 kB / 438.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.2672, allocations: 57.59 kB / 438.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.2675, allocations: 119.3 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2675, allocations: 4 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2675, allocations: 0 / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2675, allocations: 3.938 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.2677, allocations: 188.6 kB / 438.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2677, allocations: 4.062 kB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.2678, allocations: 15.98 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2678, allocations: 128 / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2678, allocations: 4 kB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2678, allocations: 4 kB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2678, allocations: 0 / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.268, allocations: 162.6 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.2681, allocations: 35.78 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.2682, allocations: 4 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.2682, allocations: 7.984 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2682, allocations: 15.94 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2683, allocations: 4 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.2685, allocations: 204.4 kB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2685, allocations: 0 / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.2687, allocations: 31.98 kB / 439.2 MB, free: 14.1 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.001995/0.2707, allocations: 1.035 MB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.2709, allocations: 67.97 kB / 440.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2709, allocations: 4 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.271, allocations: 31.92 kB / 440.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.2714, allocations: 70.89 kB / 440.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.2737, allocations: 1.959 MB / 442.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.2739, allocations: 123.6 kB / 442.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.2739, allocations: 25.47 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.274, allocations: 47.42 kB / 442.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.274, allocations: 3.938 kB / 442.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.306, allocations: 5.361 MB / 447.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.97, allocations: 2.578 kB / 447.9 MB, free: 5.469 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.421271313913167]