Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001282, allocations: 178.8 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.7 MB / 243.2 MB, free: 10.23 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007948/0.0007949, allocations: 91.36 kB / 294.4 MB, free: 9.758 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002631, allocations: 7.938 kB / 354.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2385, allocations: 50.42 MB / 404.6 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001595/0.2402, allocations: 1.285 MB / 405.9 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005952/0.2408, allocations: 468.5 kB / 406.3 MB, free: 29.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.2409, allocations: 1 kB / 406.3 MB, free: 29.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.2409, allocations: 3.938 kB / 406.3 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.2411, allocations: 9.969 kB / 406.3 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.2413, allocations: 47.89 kB / 406.4 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.304e-05/0.2414, allocations: 47.78 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2415, allocations: 19.08 kB / 406.5 MB, free: 29.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.2416, allocations: 11.94 kB / 406.5 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.2417, allocations: 27.78 kB / 406.5 MB, free: 29.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2417, allocations: 4 kB / 406.5 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.2417, allocations: 0 / 406.5 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.2417, allocations: 11.92 kB / 406.5 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.2418, allocations: 45.52 kB / 406.5 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.669e-05/0.2419, allocations: 56.83 kB / 406.6 MB, free: 29.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2419, allocations: 4 kB / 406.6 MB, free: 29.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2419, allocations: 0 / 406.6 MB, free: 29.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.2419, allocations: 2.25 kB / 406.6 MB, free: 29.34 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.000356/0.2422, allocations: 361.2 kB / 407 MB, free: 28.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2423, allocations: 12.03 kB / 407 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2423, allocations: 8.844 kB / 407 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2425, allocations: 202.1 kB / 407.2 MB, free: 28.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2425, allocations: 384 / 407.2 MB, free: 28.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2425, allocations: 5.281 kB / 407.2 MB, free: 28.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.2428, allocations: 126 kB / 407.3 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2428, allocations: 3.938 kB / 407.3 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2428, allocations: 0 / 407.3 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2428, allocations: 0 / 407.3 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/0.2429, allocations: 31.97 kB / 407.3 MB, free: 28.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.2431, allocations: 270.5 kB / 407.6 MB, free: 28.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.828e-05/0.2432, allocations: 79.78 kB / 407.7 MB, free: 28.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.2433, allocations: 30.64 kB / 407.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2433, allocations: 0 / 407.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.2433, allocations: 34.55 kB / 407.8 MB, free: 28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2433, allocations: 8 kB / 407.8 MB, free: 27.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002305/0.2436, allocations: 89.45 kB / 407.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2436, allocations: 106.8 kB / 408 MB, free: 27.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.2437, allocations: 144.9 kB / 408.1 MB, free: 27.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.2437, allocations: 29.7 kB / 408.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.2438, allocations: 84.14 kB / 408.2 MB, free: 27.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.2438, allocations: 7.906 kB / 408.2 MB, free: 27.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.2438, allocations: 4 kB / 408.2 MB, free: 27.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.2439, allocations: 326.7 kB / 408.5 MB, free: 27.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.2439, allocations: 8 kB / 408.5 MB, free: 27.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.2439, allocations: 43.41 kB / 408.6 MB, free: 27.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.244, allocations: 55.36 kB / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.244, allocations: 4 kB / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001078/0.2441, allocations: 73.55 kB / 408.7 MB, free: 26.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2442, allocations: 8 kB / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2442, allocations: 0 / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2442, allocations: 0 / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.2443, allocations: 8 kB / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2443, allocations: 4 kB / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.2443, allocations: 16.11 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2443, allocations: 0 / 408.7 MB, free: 26.91 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.682e-05/0.2444, allocations: 129.7 kB / 408.9 MB, free: 26.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.2445, allocations: 57.47 kB / 408.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.2445, allocations: 11.88 kB / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2445, allocations: 0 / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2445, allocations: 0 / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2445, allocations: 4.062 kB / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.2447, allocations: 177.6 kB / 409.1 MB, free: 26.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2447, allocations: 4 kB / 409.1 MB, free: 26.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.2447, allocations: 8 kB / 409.1 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2447, allocations: 0 / 409.1 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2447, allocations: 0 / 409.1 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2448, allocations: 3.984 kB / 409.1 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2448, allocations: 4 kB / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.2449, allocations: 189 kB / 409.3 MB, free: 26.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.245, allocations: 89 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.245, allocations: 0 / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.245, allocations: 4 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.2451, allocations: 4 kB / 409.4 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.2451, allocations: 4 kB / 409.4 MB, free: 26.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.2451, allocations: 111.2 kB / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2451, allocations: 0 / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.2453, allocations: 8 kB / 409.5 MB, free: 26.01 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 8.011e-05/0.2454, allocations: 99.25 kB / 409.6 MB, free: 25.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.2456, allocations: 44.03 kB / 409.7 MB, free: 25.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2456, allocations: 4.062 kB / 409.7 MB, free: 25.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.2456, allocations: 15.94 kB / 409.7 MB, free: 25.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2459, allocations: 30.88 kB / 409.7 MB, free: 25.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.2462, allocations: 210.8 kB / 409.9 MB, free: 25.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2464, allocations: 0.6926 MB / 410.6 MB, free: 24.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.2464, allocations: 4 kB / 410.6 MB, free: 24.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.2464, allocations: 11.38 kB / 410.6 MB, free: 24.84 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2465, allocations: 4 kB / 410.6 MB, free: 24.84 MB / 298.7 MB Notification: Performance of Templates: time 0.002597/0.2491, allocations: 0.5383 MB / 411.2 MB, free: 24.3 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches