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.00197/0.00197, allocations: 89.06 kB / 20.68 MB, free: 1.023 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.001817/0.001817, allocations: 159.3 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.564/1.564, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.933e-06/1.933e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.801e-05, allocations: 3.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002922/0.00295, allocations: 1.594 MB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.004252, allocations: 0.5385 MB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.004356, allocations: 3.938 kB / 327.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.206e-05/0.004418, allocations: 8.406 kB / 327.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.004585, allocations: 13.52 kB / 327.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.004996, allocations: 61.08 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.005157, allocations: 56.36 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.005273, allocations: 7.516 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.005477, allocations: 40.72 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.00555, allocations: 13.03 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.005586, allocations: 3.312 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.007e-05/0.005636, allocations: 6.016 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.005695, allocations: 14.66 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.005736, allocations: 18.77 kB / 327.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.005933, allocations: 62.91 kB / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.005939, allocations: 0 / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.00594, allocations: 1.312 kB / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.005945, allocations: 4 kB / 327.5 MB, free: 14.89 MB / 302.1 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.0006083/0.006553, allocations: 302.8 kB / 327.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.006597, allocations: 12.89 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.006791, allocations: 17.64 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.007126, allocations: 149.4 kB / 327.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.00714, allocations: 1.375 kB / 327.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.007155, allocations: 7.656 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.007478, allocations: 121.4 kB / 328.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.007488, allocations: 4.641 kB / 328.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.0075, allocations: 4 kB / 328.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.007505, allocations: 1.312 kB / 328.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.007593, allocations: 20.88 kB / 328.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.007909, allocations: 218.3 kB / 328.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.008048, allocations: 75.08 kB / 328.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/0.008122, allocations: 33.56 kB / 328.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.008146, allocations: 3.188 kB / 328.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.00818, allocations: 37.75 kB / 328.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.008181, allocations: 0 / 328.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002937/0.008475, allocations: 89.53 kB / 328.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.008562, allocations: 110.2 kB / 328.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.008717, allocations: 151.7 kB / 328.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.008736, allocations: 25.7 kB / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.008797, allocations: 87.77 kB / 328.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.008813, allocations: 6.469 kB / 328.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.00885, allocations: 17.3 kB / 328.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.008993, allocations: 321.6 kB / 329.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/0.009039, allocations: 10.12 kB / 329.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.009071, allocations: 6.469 kB / 329.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.009152, allocations: 26.7 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009154, allocations: 0 / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001358/0.00929, allocations: 51.34 kB / 329.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.009305, allocations: 5.438 kB / 329.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.009309, allocations: 0 / 329.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.009325, allocations: 1.875 kB / 329.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.009397, allocations: 4.766 kB / 329.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.009401, allocations: 0 / 329.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.009437, allocations: 3.703 kB / 329.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.009444, allocations: 4.031 kB / 329.4 MB, free: 13.12 MB / 302.1 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 0.0001084/0.009553, allocations: 121 kB / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.009644, allocations: 54.77 kB / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.009684, allocations: 12.22 kB / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.009686, allocations: 3.125 kB / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.009692, allocations: 0.6562 kB / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.009696, allocations: 0 / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.009875, allocations: 121.1 kB / 329.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009877, allocations: 1.125 kB / 329.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.009943, allocations: 14.81 kB / 329.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.009947, allocations: 1.25 kB / 329.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.009956, allocations: 1.344 kB / 329.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.009963, allocations: 5.609 kB / 329.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.009965, allocations: 5 kB / 329.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.01021, allocations: 179.2 kB / 329.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.01026, allocations: 21.61 kB / 329.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.01028, allocations: 1.875 kB / 329.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.01036, allocations: 6.938 kB / 329.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.01039, allocations: 6.844 kB / 329.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.0104, allocations: 1.578 kB / 329.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.01051, allocations: 113.7 kB / 330 MB, free: 12.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01051, allocations: 0 / 330 MB, free: 12.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.01075, allocations: 5.406 kB / 330 MB, free: 12.53 MB / 302.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: 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 0.000124/0.01088, allocations: 98 kB / 330.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.01104, allocations: 26.84 kB / 330.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01104, allocations: 0.875 kB / 330.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/0.01108, allocations: 11.52 kB / 330.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.01146, allocations: 34.12 kB / 330.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.01184, allocations: 172.4 kB / 330.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.892e-05/0.01192, allocations: 79.97 kB / 330.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.01195, allocations: 2.734 kB / 330.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.01199, allocations: 11.8 kB / 330.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.01199, allocations: 4 kB / 330.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of Templates: time 0.003384/0.01537, allocations: 0.6244 MB / 331.1 MB, free: 12.08 MB / 302.1 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.527092058211565]