Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001348/0.001348, allocations: 109.5 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.001425/0.001425, allocations: 183.1 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.424/1.424, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 51.91 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2415, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003521/0.245, allocations: 1.939 MB / 424.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.247, allocations: 1.103 MB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2471, allocations: 7.938 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.2477, allocations: 159.5 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.248, allocations: 115.6 kB / 425.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.2486, allocations: 210.6 kB / 426.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.2488, allocations: 195.4 kB / 426.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2489, allocations: 21.8 kB / 426.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.2491, allocations: 83.62 kB / 426.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2492, allocations: 83.56 kB / 426.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.2492, allocations: 15.98 kB / 426.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.2494, allocations: 63.91 kB / 426.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.2495, allocations: 47.83 kB / 426.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.477e-05/0.2496, allocations: 75.48 kB / 426.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.2499, allocations: 211.5 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2499, allocations: 0 / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2499, allocations: 0 / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.2499, allocations: 0 / 426.9 MB, free: 10.27 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008518/0.2508, allocations: 466.6 kB / 427.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.2508, allocations: 12.03 kB / 427.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.2509, allocations: 42.73 kB / 427.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.251, allocations: 24.8 kB / 427.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.2514, allocations: 217 kB / 427.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.2514, allocations: 8.375 kB / 427.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.2514, allocations: 7.938 kB / 427.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.2518, allocations: 167.6 kB / 427.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2518, allocations: 0 / 427.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2518, allocations: 3.938 kB / 427.9 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2518, allocations: 0 / 427.9 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.2519, allocations: 35.98 kB / 427.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.2524, allocations: 350.3 kB / 428.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.2527, allocations: 130.5 kB / 428.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.2528, allocations: 63.34 kB / 428.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2528, allocations: 4 kB / 428.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.253, allocations: 75.39 kB / 428.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/0.253, allocations: 0 / 428.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003861/0.2534, allocations: 153.4 kB / 428.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.2535, allocations: 166.6 kB / 428.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.2538, allocations: 281 kB / 429.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2538, allocations: 25.7 kB / 429.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.2539, allocations: 120.3 kB / 429.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2539, allocations: 19.89 kB / 429.3 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.254, allocations: 33.67 kB / 429.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2541, allocations: 330.8 kB / 429.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.2542, allocations: 23.98 kB / 429.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2543, allocations: 83.72 kB / 429.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.2545, allocations: 97.91 kB / 429.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2545, allocations: 0 / 429.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002209/0.2547, allocations: 125.5 kB / 429.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2547, allocations: 4 kB / 429.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2547, allocations: 4.125 kB / 429.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2547, allocations: 11.94 kB / 430 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.2548, allocations: 19.92 kB / 430 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2548, allocations: 3.984 kB / 430 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.2549, allocations: 19.89 kB / 430 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.2549, allocations: 4 kB / 430 MB, free: 6.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001366/0.255, allocations: 142.9 kB / 430.1 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.2551, allocations: 77.59 kB / 430.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.2554, allocations: 119.3 kB / 430.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2554, allocations: 4 kB / 430.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2554, allocations: 0 / 430.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2554, allocations: 7.938 kB / 430.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.2556, allocations: 200.7 kB / 430.5 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2556, allocations: 4 kB / 430.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.2556, allocations: 4 kB / 430.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2556, allocations: 0 / 430.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2556, allocations: 7.984 kB / 430.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2556, allocations: 0 / 430.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2556, allocations: 7.938 kB / 430.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.2559, allocations: 175.4 kB / 430.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.256, allocations: 27.88 kB / 430.8 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.256, allocations: 8 kB / 430.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.2561, allocations: 8 kB / 430.8 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.2561, allocations: 11.92 kB / 430.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.2561, allocations: 8 kB / 430.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.2563, allocations: 196.5 kB / 431 MB, free: 5.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2563, allocations: 0 / 431 MB, free: 5.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.2566, allocations: 31.94 kB / 431 MB, free: 5.738 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.001983/0.2586, allocations: 1.024 MB / 432 MB, free: 4.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.2588, allocations: 76.09 kB / 432.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2588, allocations: 8.062 kB / 432.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.274e-05/0.2589, allocations: 16 kB / 432.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.2593, allocations: 82.91 kB / 432.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.2618, allocations: 2.018 MB / 434.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2622, allocations: 0.7396 MB / 435 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.097e-05/0.2622, allocations: 33.41 kB / 435 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.2623, allocations: 51.42 kB / 435.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2623, allocations: 0 / 435.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04727/0.3096, allocations: 5.105 MB / 440.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.04, allocations: 6.469 kB / 440.2 MB, free: 12.63 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.49929948989302]