Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.0008718/0.0008718, allocations: 88.28 kB / 21.43 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.003358/0.003358, allocations: 154.2 kB / 24.7 MB, free: 9.414 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.8581/0.8581, allocations: 177 MB / 204.9 MB, free: 5.738 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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.905e-05, allocations: 10.22 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001779/0.001798, allocations: 1.599 MB / 327.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006447/0.002443, allocations: 0.5413 MB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.002514, allocations: 3.938 kB / 327.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.937e-05/0.002553, allocations: 3.938 kB / 327.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.002677, allocations: 15.86 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.002925, allocations: 59.75 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.003019, allocations: 59.7 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.003109, allocations: 8.188 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.003212, allocations: 39.89 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.003257, allocations: 15.98 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.003277, allocations: 4 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.449e-05/0.003312, allocations: 4 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.003354, allocations: 15.92 kB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.003377, allocations: 15.94 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.00352, allocations: 63.72 kB / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003522, allocations: 0 / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003523, allocations: 0 / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.003527, allocations: 0 / 328.2 MB, free: 12.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003399/0.003867, allocations: 309.9 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.0039, allocations: 15.98 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.901e-05/0.003999, allocations: 20.88 kB / 328.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.004166, allocations: 138.2 kB / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.004175, allocations: 4.359 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.004184, allocations: 8.359 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.004384, allocations: 118.2 kB / 328.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.004392, allocations: 7.984 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.0044, allocations: 0 / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.004404, allocations: 0 / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.004448, allocations: 23.92 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.004663, allocations: 214.3 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/0.004735, allocations: 71.72 kB / 329.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.00477, allocations: 26.64 kB / 329.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.004791, allocations: 11.98 kB / 329.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.004808, allocations: 34.5 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004809, allocations: 0 / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001694/0.004979, allocations: 89.52 kB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.005028, allocations: 106.8 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.005125, allocations: 160.6 kB / 329.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.005135, allocations: 25.7 kB / 329.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.005175, allocations: 84.52 kB / 329.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.005189, allocations: 11.94 kB / 329.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.005211, allocations: 13.72 kB / 329.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.005284, allocations: 326.7 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.005302, allocations: 4 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.005318, allocations: 11.98 kB / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.65e-05/0.005355, allocations: 16.84 kB / 330 MB, free: 10.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005356, allocations: 0 / 330 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.591e-05/0.005412, allocations: 53.7 kB / 330.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.005422, allocations: 8.031 kB / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.005426, allocations: 0 / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.005435, allocations: 0 / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.208e-05/0.005477, allocations: 11.92 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.005481, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.005497, allocations: 4 kB / 330.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.005501, allocations: 0 / 330.1 MB, free: 10.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.234e-05/0.005554, allocations: 117.8 kB / 330.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.005596, allocations: 53.64 kB / 330.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.005618, allocations: 12.03 kB / 330.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.005621, allocations: 4 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.005624, allocations: 0 / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005627, allocations: 7.922 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.94e-05/0.005716, allocations: 121.2 kB / 330.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005717, allocations: 0 / 330.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.005745, allocations: 11.98 kB / 330.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.005746, allocations: 0 / 330.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.005752, allocations: 4 kB / 330.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005753, allocations: 0 / 330.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005754, allocations: 7.984 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.005855, allocations: 181.1 kB / 330.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.005884, allocations: 27.89 kB / 330.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.005895, allocations: 4 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.005927, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.005952, allocations: 4 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.005955, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.758e-05/0.006002, allocations: 111.2 kB / 330.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006002, allocations: 0 / 330.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001394/0.006142, allocations: 4 kB / 330.8 MB, free: 10.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 5.924e-05/0.006201, allocations: 107.2 kB / 330.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.822e-05/0.006279, allocations: 23.92 kB / 330.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00628, allocations: 3.938 kB / 330.9 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-05/0.006298, allocations: 11.94 kB / 330.9 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.006521, allocations: 27.23 kB / 331 MB, free: 9.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.00677, allocations: 212.3 kB / 331.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.743e-05/0.006828, allocations: 83.08 kB / 331.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.00685, allocations: 8.5 kB / 331.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006851, allocations: 0 / 331.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of Templates: time 0.001449/0.008299, allocations: 0.8351 MB / 332.1 MB, free: 8.707 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.1599413603544235]