Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001065, allocations: 200.5 kB / 17.43 MB, free: 4.113 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008348/0.0008347, allocations: 95.58 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002286/0.0002286, allocations: 4 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2636, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001551/0.2652, allocations: 1.3 MB / 413.3 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.2661, allocations: 0.7273 MB / 414.1 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.935e-05/0.2662, allocations: 4 kB / 414.1 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.2662, allocations: 3.938 kB / 414.1 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2664, allocations: 9.203 kB / 414.1 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.2666, allocations: 51.89 kB / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.2667, allocations: 40.64 kB / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2668, allocations: 26.8 kB / 414.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.2669, allocations: 15.94 kB / 414.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.267, allocations: 23.86 kB / 414.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.267, allocations: 0 / 414.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.117e-05/0.2671, allocations: 4 kB / 414.3 MB, free: 23.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.2671, allocations: 18.81 kB / 414.3 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.2672, allocations: 49.52 kB / 414.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2673, allocations: 59.72 kB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2673, allocations: 0 / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2673, allocations: 0 / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.2673, allocations: 0 / 414.4 MB, free: 23.52 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.0003699/0.2677, allocations: 374.8 kB / 414.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2677, allocations: 8.031 kB / 414.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.2678, allocations: 20.83 kB / 414.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.268, allocations: 196.1 kB / 415 MB, free: 22.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.268, allocations: 4.375 kB / 415 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.268, allocations: 4.375 kB / 415 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.2683, allocations: 122 kB / 415.1 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2683, allocations: 0 / 415.1 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.2683, allocations: 3.938 kB / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.2683, allocations: 4 kB / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.2684, allocations: 27.92 kB / 415.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.2687, allocations: 278.6 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.2687, allocations: 71.78 kB / 415.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.2688, allocations: 38.62 kB / 415.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.2688, allocations: 7.938 kB / 415.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.2689, allocations: 30.56 kB / 415.5 MB, free: 22.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.2689, allocations: 0 / 415.5 MB, free: 22.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002415/0.2691, allocations: 97.45 kB / 415.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2692, allocations: 110.8 kB / 415.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.2693, allocations: 138.8 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.2693, allocations: 26.08 kB / 415.9 MB, free: 21.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.2693, allocations: 96.14 kB / 416 MB, free: 21.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.2693, allocations: 3.906 kB / 416 MB, free: 21.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.2693, allocations: 0 / 416 MB, free: 21.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.2694, allocations: 326.8 kB / 416.3 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.2695, allocations: 4 kB / 416.3 MB, free: 21.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-05/0.2695, allocations: 43.42 kB / 416.4 MB, free: 21.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.2696, allocations: 47.36 kB / 416.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2696, allocations: 0 / 416.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001134/0.2697, allocations: 77.61 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2697, allocations: 4 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2697, allocations: 4 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2698, allocations: 96 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.265e-05/0.2698, allocations: 11.98 kB / 416.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2699, allocations: 3.938 kB / 416.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.2699, allocations: 12.05 kB / 416.5 MB, free: 21.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.2699, allocations: 8 kB / 416.5 MB, free: 21.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 5.701e-05/0.27, allocations: 121.7 kB / 416.7 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.2701, allocations: 57.53 kB / 416.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.2701, allocations: 7.875 kB / 416.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2701, allocations: 4 kB / 416.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2701, allocations: 3.984 kB / 416.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2701, allocations: 0 / 416.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.2702, allocations: 173.6 kB / 416.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2702, allocations: 8 kB / 416.9 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.2703, allocations: 11.98 kB / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.2703, allocations: 0 / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.2703, allocations: 4 kB / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2703, allocations: 0 / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2703, allocations: 0 / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2705, allocations: 189 kB / 417.1 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.2705, allocations: 93 kB / 417.2 MB, free: 20.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.2706, allocations: 4 kB / 417.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.2706, allocations: 4 kB / 417.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.2707, allocations: 0 / 417.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2707, allocations: 7.984 kB / 417.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.19e-05/0.2707, allocations: 109.7 kB / 417.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2707, allocations: 0 / 417.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000198/0.2709, allocations: 4 kB / 417.3 MB, free: 20.17 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 9.619e-05/0.271, allocations: 111.2 kB / 417.4 MB, free: 20.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.2712, allocations: 35.92 kB / 417.5 MB, free: 20.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2712, allocations: 256 / 417.5 MB, free: 20.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.2712, allocations: 12 kB / 417.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.2716, allocations: 36.52 kB / 417.5 MB, free: 19.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.2719, allocations: 210.8 kB / 417.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.272, allocations: 0.6926 MB / 418.4 MB, free: 19.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.871e-05/0.272, allocations: 3.75 kB / 418.4 MB, free: 19.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.272, allocations: 11.44 kB / 418.4 MB, free: 19 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2721, allocations: 0 / 418.4 MB, free: 19 MB / 298.7 MB Notification: Performance of Templates: time 0.002223/0.2743, allocations: 0.539 MB / 419 MB, free: 18.46 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches