Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001216/0.001216, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001074/0.001074, allocations: 166.2 kB / 24.99 MB, free: 8.355 MB / 18.57 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 0.9857/0.9857, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 4 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.255e-05, allocations: 2.312 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002675/0.002698, allocations: 1.629 MB / 274.7 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.003678, allocations: 0.5569 MB / 275.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.00377, allocations: 7.938 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.003824, allocations: 3.938 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.003974, allocations: 23.86 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.004314, allocations: 59.69 kB / 275.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.00444, allocations: 55.83 kB / 275.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004556, allocations: 4.188 kB / 275.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.004707, allocations: 35.84 kB / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.004764, allocations: 23.91 kB / 275.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.004781, allocations: 4 kB / 275.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.014e-05/0.004822, allocations: 4 kB / 275.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.004868, allocations: 15.92 kB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.004894, allocations: 11.94 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.005035, allocations: 55.75 kB / 275.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.005037, allocations: 0 / 275.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005038, allocations: 0 / 275.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.005042, allocations: 0 / 275.6 MB, free: 15.32 MB / 266.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.0004424/0.005485, allocations: 404.3 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.005522, allocations: 8.031 kB / 276 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.00567, allocations: 28.81 kB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.005894, allocations: 149 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.005905, allocations: 8.312 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.005917, allocations: 4.375 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.006188, allocations: 137 kB / 276.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.006198, allocations: 4 kB / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006208, allocations: 4 kB / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.006216, allocations: 0 / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.006248, allocations: 7.938 kB / 276.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.00656, allocations: 287.1 kB / 276.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.925e-05/0.00665, allocations: 89.11 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.006692, allocations: 31.19 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.006713, allocations: 11.92 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.006737, allocations: 33.39 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.006739, allocations: 0 / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001885/0.006927, allocations: 65.58 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.006987, allocations: 115.1 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.007115, allocations: 201.3 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.007127, allocations: 25.7 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.007181, allocations: 138.9 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.007196, allocations: 3.938 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.007236, allocations: 23.33 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.007369, allocations: 0.4922 MB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.007383, allocations: 0 / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.007395, allocations: 8 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.007423, allocations: 7.688 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007425, allocations: 4.062 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.511e-05/0.00749, allocations: 37.64 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.007505, allocations: 7.984 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007511, allocations: 4 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.007524, allocations: 0 / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.007587, allocations: 0 / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.007592, allocations: 0 / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.007616, allocations: 4 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.007622, allocations: 0 / 277.9 MB, free: 12.73 MB / 266.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 7.391e-05/0.007696, allocations: 160.5 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.007769, allocations: 57.58 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.007798, allocations: 7.969 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.0078, allocations: 7.938 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.007805, allocations: 3.984 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.007809, allocations: 0 / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.007949, allocations: 136.5 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.007951, allocations: 0 / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.008004, allocations: 11.98 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.008006, allocations: 0 / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.008014, allocations: 8.062 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.008016, allocations: 0 / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008017, allocations: 0 / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.008164, allocations: 227.1 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.008207, allocations: 15.94 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.008223, allocations: 4 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.008286, allocations: 0 / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.008321, allocations: 4 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.008326, allocations: 0 / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.165e-05/0.008398, allocations: 147.2 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008398, allocations: 0 / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.008634, allocations: 12 kB / 278.6 MB, free: 11.87 MB / 266.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 8.394e-05/0.008718, allocations: 95.25 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.033e-05/0.008809, allocations: 23.61 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00881, allocations: 0 / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.008825, allocations: 7.688 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.009185, allocations: 27.42 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.009728, allocations: 196.7 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.009774, allocations: 59.34 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.863e-05/0.009803, allocations: 8 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.009833, allocations: 8.5 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009834, allocations: 0 / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Templates: time 0.002921/0.01275, allocations: 0.6446 MB / 279.7 MB, free: 10.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8565384701360017]