Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001982/0.001982, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002507/0.002507, allocations: 206.3 kB / 23.73 MB, free: 4.379 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.389/1.389, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 51.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.238, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003368/0.2414, allocations: 1.909 MB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2435, allocations: 1.177 MB / 434.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.2436, allocations: 7.938 kB / 434.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006054/0.2442, allocations: 155.5 kB / 434.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.2446, allocations: 167.4 kB / 434.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.2451, allocations: 182.4 kB / 434.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.2453, allocations: 199.3 kB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2455, allocations: 29.59 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2456, allocations: 83.69 kB / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.2457, allocations: 87.55 kB / 435.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2457, allocations: 12 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.2459, allocations: 63.95 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.246, allocations: 43.84 kB / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.246, allocations: 59.55 kB / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.2464, allocations: 224.9 kB / 435.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2464, allocations: 0 / 435.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2464, allocations: 0 / 435.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2464, allocations: 4 kB / 435.5 MB, free: 2.242 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.0007541/0.2471, allocations: 462.6 kB / 435.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2472, allocations: 8.031 kB / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.2472, allocations: 46.73 kB / 436 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.2473, allocations: 20.8 kB / 436 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.2476, allocations: 225.1 kB / 436.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2476, allocations: 4.375 kB / 436.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.2477, allocations: 11.94 kB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.248, allocations: 162.6 kB / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.248, allocations: 4 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.248, allocations: 4 kB / 436.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.248, allocations: 4 kB / 436.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.2482, allocations: 43.91 kB / 436.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.2486, allocations: 326.4 kB / 436.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.2489, allocations: 134.5 kB / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.841e-05/0.249, allocations: 55.42 kB / 436.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.249, allocations: 4 kB / 436.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.2492, allocations: 79.33 kB / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.2492, allocations: 0 / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003804/0.2496, allocations: 161.4 kB / 437.2 MB, free: 320 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/0.2497, allocations: 136.5 kB / 437.3 MB, free: 152 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.25, allocations: 286.2 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.25, allocations: 33.7 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.2501, allocations: 124.4 kB / 437.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.2501, allocations: 23.83 kB / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.2502, allocations: 33.7 kB / 437.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2504, allocations: 326.8 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.2504, allocations: 23.98 kB / 438.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.2505, allocations: 100.6 kB / 438.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2507, allocations: 110.2 kB / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2507, allocations: 0 / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002407/0.2509, allocations: 141.3 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.251, allocations: 4 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.251, allocations: 7.938 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.251, allocations: 4.172 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.2511, allocations: 23.92 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2511, allocations: 4 kB / 438.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.2511, allocations: 11.94 kB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2512, allocations: 4 kB / 438.5 MB, free: 14.82 MB / 350.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.0001361/0.2513, allocations: 142.6 kB / 438.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2514, allocations: 81.48 kB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.2517, allocations: 119.4 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2517, allocations: 4.094 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2517, allocations: 4 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2517, allocations: 3.938 kB / 438.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.2519, allocations: 196.6 kB / 439.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2519, allocations: 4 kB / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.2519, allocations: 11.94 kB / 439.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.2519, allocations: 4 kB / 439.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2519, allocations: 3.984 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.252, allocations: 4 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.252, allocations: 0 / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.2522, allocations: 187.4 kB / 439.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.2523, allocations: 31.89 kB / 439.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.2523, allocations: 8 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.2524, allocations: 11.98 kB / 439.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.2525, allocations: 7.938 kB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2525, allocations: 4 kB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.2527, allocations: 209.2 kB / 439.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2527, allocations: 0 / 439.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.253, allocations: 35.89 kB / 439.6 MB, free: 13.67 MB / 350.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 (12): * Single equations (assignments): 10 * 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.002157/0.2551, allocations: 1.051 MB / 440.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.2554, allocations: 83.83 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2554, allocations: 0 / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.2554, allocations: 31.92 kB / 440.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.2559, allocations: 72.53 kB / 440.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.2582, allocations: 2.057 MB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.2583, allocations: 131.5 kB / 443 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.545e-05/0.2584, allocations: 29.77 kB / 443 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.2585, allocations: 59.41 kB / 443.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2585, allocations: 0 / 443.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.2913, allocations: 5.794 MB / 448.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.8, allocations: 10.59 kB / 448.9 MB, free: 4.445 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.208164979994763]