Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007066/0.007066, allocations: 110.3 kB / 21.98 MB, free: 5.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.634/1.634, allocations: 230.6 MB / 259 MB, free: 8.035 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.89 kB / 379.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2396, allocations: 53.36 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003522/0.2431, allocations: 1.938 MB / 435.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.2452, allocations: 1.246 MB / 436.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.2454, allocations: 7.938 kB / 436.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.246, allocations: 151.5 kB / 436.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003924/0.2464, allocations: 163.3 kB / 436.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.2468, allocations: 167.5 kB / 436.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.2471, allocations: 199.4 kB / 437 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2472, allocations: 17.75 kB / 437 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2473, allocations: 83.62 kB / 437.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2475, allocations: 79.61 kB / 437.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.2475, allocations: 8 kB / 437.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.2476, allocations: 67.89 kB / 437.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.2477, allocations: 51.77 kB / 437.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.2478, allocations: 59.56 kB / 437.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.2481, allocations: 216.4 kB / 437.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2481, allocations: 0 / 437.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2481, allocations: 7.938 kB / 437.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2481, allocations: 0 / 437.6 MB, free: 2.543 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.0007476/0.2489, allocations: 446.7 kB / 438 MB, free: 2.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2489, allocations: 12.03 kB / 438.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.249, allocations: 20.8 kB / 438.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.2493, allocations: 209.1 kB / 438.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2493, allocations: 8.375 kB / 438.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.2494, allocations: 16.06 kB / 438.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.2497, allocations: 149.1 kB / 438.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2497, allocations: 0 / 438.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2497, allocations: 0 / 438.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2497, allocations: 7.938 kB / 438.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2498, allocations: 35.98 kB / 438.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.2503, allocations: 337.4 kB / 438.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.2506, allocations: 107.9 kB / 438.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.811e-05/0.2507, allocations: 46.55 kB / 439 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2507, allocations: 0 / 439 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.2508, allocations: 83.31 kB / 439.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2508, allocations: 0 / 439.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003727/0.2512, allocations: 141.5 kB / 439.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.2513, allocations: 136.5 kB / 439.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.2516, allocations: 273.1 kB / 439.6 MB, free: 340 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2516, allocations: 25.95 kB / 439.6 MB, free: 308 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.2517, allocations: 120.1 kB / 439.7 MB, free: 184 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2518, allocations: 19.89 kB / 439.8 MB, free: 164 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.2518, allocations: 29.67 kB / 439.8 MB, free: 128 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.252, allocations: 334.8 kB / 440.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.252, allocations: 16 kB / 440.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.2522, allocations: 81.92 kB / 440.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.2523, allocations: 68.23 kB / 440.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2523, allocations: 3.984 kB / 440.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000222/0.2525, allocations: 117.5 kB / 440.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2525, allocations: 4 kB / 440.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2525, allocations: 0 / 440.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2526, allocations: 7.984 kB / 440.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.2526, allocations: 8 kB / 440.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2526, allocations: 4 kB / 440.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.2527, allocations: 19.81 kB / 440.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.2527, allocations: 7.938 kB / 440.4 MB, free: 15.41 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.0001318/0.2528, allocations: 146.7 kB / 440.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.2529, allocations: 73.42 kB / 440.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.2532, allocations: 111.7 kB / 440.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2532, allocations: 0 / 440.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2532, allocations: 0 / 440.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2532, allocations: 3.938 kB / 440.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.2534, allocations: 204.7 kB / 441 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2534, allocations: 0 / 441 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.2534, allocations: 4 kB / 441 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2534, allocations: 12 kB / 441 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2534, allocations: 0 / 441 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2534, allocations: 0 / 441 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2534, allocations: 4 kB / 441 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.2537, allocations: 154.6 kB / 441.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.2538, allocations: 39.84 kB / 441.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.2538, allocations: 0 / 441.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.2539, allocations: 4 kB / 441.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.2539, allocations: 7.984 kB / 441.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.2539, allocations: 11.94 kB / 441.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.2541, allocations: 196.5 kB / 441.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2541, allocations: 0 / 441.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.2544, allocations: 35.92 kB / 441.4 MB, free: 14.34 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.001491/0.2559, allocations: 421.1 kB / 441.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.2561, allocations: 67.84 kB / 441.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2561, allocations: 3.938 kB / 441.9 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.2562, allocations: 23.98 kB / 441.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.2566, allocations: 56.38 kB / 442 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.2572, allocations: 354.8 kB / 442.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.2576, allocations: 0.7242 MB / 443.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.2576, allocations: 27.42 kB / 443.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2576, allocations: 0 / 443.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Templates: time 0.00499/0.2626, allocations: 2.665 MB / 445.7 MB, free: 10.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.636999701149762]