Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008212/0.0008212, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003642/0.003642, allocations: 158.5 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8619/0.8619, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.384e-05, allocations: 6.219 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002271/0.002295, allocations: 1.882 MB / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.003661, allocations: 1.164 MB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.003774, allocations: 7.938 kB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.004338, allocations: 155.4 kB / 329 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.004646, allocations: 167.2 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.00503, allocations: 178.2 kB / 329.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.005241, allocations: 191.4 kB / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.005349, allocations: 17.8 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.00547, allocations: 99.73 kB / 329.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.005566, allocations: 67.8 kB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.005586, allocations: 8 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.005705, allocations: 71.81 kB / 329.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.00577, allocations: 43.86 kB / 329.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.005819, allocations: 35.84 kB / 329.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.00608, allocations: 215.3 kB / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.006084, allocations: 0 / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006085, allocations: 0 / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.00609, allocations: 0 / 330.1 MB, free: 11.11 MB / 298.7 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.0006809/0.006771, allocations: 454.7 kB / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.006815, allocations: 11.98 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.006868, allocations: 24.8 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.007119, allocations: 204.9 kB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.007134, allocations: 4.375 kB / 330.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.007149, allocations: 12.38 kB / 330.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.007404, allocations: 146.4 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.007413, allocations: 192 / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.007422, allocations: 384 / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.007429, allocations: 11.88 kB / 330.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.007499, allocations: 35.98 kB / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.007863, allocations: 298 kB / 331.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.008013, allocations: 103.9 kB / 331.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.008064, allocations: 42.56 kB / 331.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.008087, allocations: 7.938 kB / 331.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.00822, allocations: 83.31 kB / 331.5 MB, free: 9.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.008222, allocations: 0 / 331.5 MB, free: 9.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002709/0.008493, allocations: 141.4 kB / 331.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.008554, allocations: 110.8 kB / 331.7 MB, free: 9.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.008759, allocations: 277.8 kB / 332 MB, free: 8.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.008772, allocations: 25.7 kB / 332 MB, free: 8.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.008837, allocations: 124.2 kB / 332.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.008856, allocations: 11.91 kB / 332.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.008896, allocations: 33.66 kB / 332.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.008977, allocations: 327.1 kB / 332.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.129e-05/0.009019, allocations: 27.92 kB / 332.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.365e-05/0.009072, allocations: 72.2 kB / 332.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.009139, allocations: 49.7 kB / 332.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009141, allocations: 0 / 332.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001107/0.009252, allocations: 105.8 kB / 332.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.009267, allocations: 7.984 kB / 332.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.009272, allocations: 0 / 332.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.009283, allocations: 0 / 332.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.009345, allocations: 20.06 kB / 332.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.009349, allocations: 0 / 332.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.009383, allocations: 7.938 kB / 332.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.009389, allocations: 3.984 kB / 332.8 MB, free: 8.117 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.754e-05/0.009476, allocations: 142.6 kB / 332.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.00953, allocations: 65.5 kB / 333 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.009687, allocations: 119.5 kB / 333.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.00969, allocations: 0 / 333.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009695, allocations: 64 / 333.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.009699, allocations: 7.984 kB / 333.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.00981, allocations: 161.3 kB / 333.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009812, allocations: 0 / 333.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.009832, allocations: 11.98 kB / 333.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.009836, allocations: 7.938 kB / 333.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.009844, allocations: 0 / 333.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.009847, allocations: 4 kB / 333.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009848, allocations: 0 / 333.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.009985, allocations: 162.6 kB / 333.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.01003, allocations: 31.78 kB / 333.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.01005, allocations: 12 kB / 333.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.01008, allocations: 11.92 kB / 333.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.01011, allocations: 0 / 333.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.01013, allocations: 4 kB / 333.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.01025, allocations: 205.2 kB / 333.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01025, allocations: 0 / 333.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.01043, allocations: 35.86 kB / 333.7 MB, free: 7.086 MB / 298.7 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.0007749/0.01121, allocations: 447.7 kB / 334.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.01135, allocations: 67.89 kB / 334.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.01135, allocations: 4 kB / 334.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.01139, allocations: 19.98 kB / 334.3 MB, free: 6.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.01167, allocations: 60.42 kB / 334.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.0121, allocations: 354.3 kB / 334.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.01218, allocations: 123.7 kB / 334.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.01222, allocations: 20.5 kB / 334.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01222, allocations: 0 / 334.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of Templates: time 0.003171/0.01539, allocations: 2.688 MB / 337.5 MB, free: 3.414 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.4694484025239944]