Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 108.9 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.992/1.992, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.002149, allocations: 46.94 kB / 300.6 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1906, allocations: 49.44 MB / 350.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.005997/0.1966, allocations: 1.937 MB / 352 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.2006, allocations: 1.13 MB / 353.1 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.2009, allocations: 4 kB / 353.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.2014, allocations: 55.8 kB / 353.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.2018, allocations: 87.72 kB / 353.3 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2031, allocations: 225.3 kB / 353.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.2035, allocations: 163.5 kB / 353.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.2037, allocations: 29.55 kB / 353.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.2039, allocations: 63.69 kB / 353.7 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.2041, allocations: 75.62 kB / 353.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.2041, allocations: 4 kB / 353.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.2044, allocations: 55.97 kB / 353.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.2047, allocations: 47.83 kB / 353.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.2048, allocations: 71.42 kB / 354 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.2054, allocations: 179.9 kB / 354.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2054, allocations: 0 / 354.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2054, allocations: 4 kB / 354.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2054, allocations: 0 / 354.2 MB, free: 0.7266 MB / 286.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.001181/0.2066, allocations: 0.5234 MB / 354.7 MB, free: 152 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.2067, allocations: 8.031 kB / 354.7 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.2068, allocations: 24.66 kB / 354.7 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.2074, allocations: 291.5 kB / 355 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.2075, allocations: 4.375 kB / 355 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.2075, allocations: 8.125 kB / 355 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.2082, allocations: 155.6 kB / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.2083, allocations: 4 kB / 355.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.2083, allocations: 3.984 kB / 355.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.2083, allocations: 0 / 355.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.2086, allocations: 51.89 kB / 355.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.2096, allocations: 374.4 kB / 355.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.2101, allocations: 115.9 kB / 355.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.2104, allocations: 50.5 kB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.2104, allocations: 11.92 kB / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.2108, allocations: 75.39 kB / 355.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/0.2108, allocations: 0 / 355.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007973/0.2117, allocations: 161.2 kB / 356 MB, free: 14.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.2118, allocations: 162.2 kB / 356.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.2125, allocations: 318.7 kB / 356.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.2126, allocations: 33.7 kB / 356.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2128, allocations: 132.3 kB / 356.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.2128, allocations: 15.81 kB / 356.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/0.2129, allocations: 29.7 kB / 356.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002656/0.2132, allocations: 334.8 kB / 357 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.2133, allocations: 19.98 kB / 357 MB, free: 13.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.2137, allocations: 94.78 kB / 357.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.214, allocations: 84.16 kB / 357.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.214, allocations: 0 / 357.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005698/0.2146, allocations: 125.3 kB / 357.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.2147, allocations: 11.98 kB / 357.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2147, allocations: 0 / 357.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.2147, allocations: 4 kB / 357.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.2149, allocations: 15.94 kB / 357.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.215, allocations: 4 kB / 357.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2151, allocations: 11.92 kB / 357.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.2151, allocations: 8 kB / 357.4 MB, free: 13.17 MB / 302.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.0002423/0.2154, allocations: 153.9 kB / 357.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.2156, allocations: 69.34 kB / 357.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.512e-05/0.2157, allocations: 25.7 kB / 357.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.2157, allocations: 4 kB / 357.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2157, allocations: 0 / 357.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.2157, allocations: 3.938 kB / 357.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.2162, allocations: 237.6 kB / 357.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2162, allocations: 320 / 357.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.515e-05/0.2163, allocations: 19.98 kB / 357.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2164, allocations: 4.062 kB / 357.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.2164, allocations: 0 / 357.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.2164, allocations: 7.938 kB / 357.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2164, allocations: 0 / 357.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.2169, allocations: 166.3 kB / 358 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/0.2172, allocations: 120.8 kB / 358.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.2173, allocations: 4 kB / 358.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.2174, allocations: 8 kB / 358.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.2175, allocations: 7.984 kB / 358.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.2175, allocations: 7.938 kB / 358.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000396/0.2179, allocations: 245.9 kB / 358.4 MB, free: 12 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.218, allocations: 0 / 358.4 MB, free: 12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005014/0.2185, allocations: 32 kB / 358.5 MB, free: 11.97 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001823/0.2203, allocations: 441.7 kB / 358.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.2208, allocations: 67.91 kB / 359 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2208, allocations: 0 / 359 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.221, allocations: 31.92 kB / 359 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000786/0.2218, allocations: 62.83 kB / 359.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2232, allocations: 448.9 kB / 359.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/0.224, allocations: 0.7478 MB / 360.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.2241, allocations: 15.44 kB / 360.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2241, allocations: 0 / 360.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Templates: time 0.009722/0.2338, allocations: 2.873 MB / 363.1 MB, free: 7.402 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches