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.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009327/0.0009328, allocations: 178.4 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.285/1.285, allocations: 225.7 MB / 243.2 MB, free: 8.508 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.0009467/0.0009469, allocations: 101.1 kB / 294.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002525, allocations: 11.94 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2278, allocations: 50.42 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001424/0.2293, allocations: 1.257 MB / 405.8 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005549/0.2299, allocations: 431.3 kB / 406.3 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.23, allocations: 7.938 kB / 406.3 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.23, allocations: 4.703 kB / 406.3 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.2301, allocations: 7.219 kB / 406.3 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.2304, allocations: 39.91 kB / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.334e-05/0.2305, allocations: 35.86 kB / 406.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.2306, allocations: 11.98 kB / 406.4 MB, free: 29.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.2306, allocations: 19.86 kB / 406.4 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.2307, allocations: 15.92 kB / 406.4 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2307, allocations: 0.8438 kB / 406.4 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.2307, allocations: 4 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.2308, allocations: 11.92 kB / 406.4 MB, free: 29.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.2308, allocations: 47.3 kB / 406.5 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.866e-05/0.2309, allocations: 47.8 kB / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2309, allocations: 0 / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2309, allocations: 3.938 kB / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.2309, allocations: 1.188 kB / 406.5 MB, free: 29.41 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003613/0.2313, allocations: 357.4 kB / 406.9 MB, free: 29.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2313, allocations: 8.031 kB / 406.9 MB, free: 29.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.2314, allocations: 9.875 kB / 406.9 MB, free: 29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2315, allocations: 184.1 kB / 407.1 MB, free: 28.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2315, allocations: 15.09 kB / 407.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.2316, allocations: 384 / 407.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.2318, allocations: 89.42 kB / 407.2 MB, free: 28.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2318, allocations: 1.469 kB / 407.2 MB, free: 28.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2318, allocations: 3.938 kB / 407.2 MB, free: 28.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2318, allocations: 3.984 kB / 407.2 MB, free: 28.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.225e-05/0.2319, allocations: 27.98 kB / 407.2 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.2321, allocations: 265.7 kB / 407.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.902e-05/0.2322, allocations: 53.14 kB / 407.5 MB, free: 28.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.2323, allocations: 17.78 kB / 407.5 MB, free: 28.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2323, allocations: 0 / 407.5 MB, free: 28.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.2323, allocations: 30.56 kB / 407.6 MB, free: 28.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.2323, allocations: 0 / 407.6 MB, free: 28.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002122/0.2325, allocations: 81.61 kB / 407.6 MB, free: 28.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.2326, allocations: 88.98 kB / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.2327, allocations: 133.8 kB / 407.9 MB, free: 27.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.2327, allocations: 25.7 kB / 407.9 MB, free: 27.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.2327, allocations: 88.14 kB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.2327, allocations: 3.906 kB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.2327, allocations: 4.156 kB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.2328, allocations: 326.8 kB / 408.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.2328, allocations: 4 kB / 408.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.2329, allocations: 21.7 kB / 408.3 MB, free: 27.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/0.2329, allocations: 37.77 kB / 408.4 MB, free: 27.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2329, allocations: 0 / 408.4 MB, free: 27.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.414e-05/0.233, allocations: 57.62 kB / 408.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.2331, allocations: 4 kB / 408.4 MB, free: 27.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2331, allocations: 0 / 408.4 MB, free: 27.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2331, allocations: 4.062 kB / 408.4 MB, free: 27.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.2332, allocations: 11.98 kB / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2332, allocations: 0 / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.2332, allocations: 4 kB / 408.4 MB, free: 27.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.2332, allocations: 0 / 408.4 MB, free: 27.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.121e-05/0.2333, allocations: 122.2 kB / 408.5 MB, free: 27.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.2333, allocations: 49.53 kB / 408.6 MB, free: 27.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.2334, allocations: 7.875 kB / 408.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2334, allocations: 7.969 kB / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2334, allocations: 0 / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2334, allocations: 0 / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2335, allocations: 173.6 kB / 408.8 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2335, allocations: 0 / 408.8 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.2336, allocations: 7.984 kB / 408.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2336, allocations: 0 / 408.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2336, allocations: 4 kB / 408.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2336, allocations: 0 / 408.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2336, allocations: 4 kB / 408.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.2337, allocations: 172.2 kB / 409 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.2337, allocations: 93 kB / 409.1 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.2338, allocations: 0 / 409.1 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.096e-05/0.2338, allocations: 4 kB / 409.1 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.2339, allocations: 7.969 kB / 409.1 MB, free: 26.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2339, allocations: 4 kB / 409.1 MB, free: 26.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.457e-05/0.2339, allocations: 111.8 kB / 409.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.234, allocations: 0 / 409.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.2341, allocations: 4 kB / 409.2 MB, free: 26.37 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.036e-05/0.2342, allocations: 103.2 kB / 409.3 MB, free: 26.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.2344, allocations: 31.98 kB / 409.3 MB, free: 26.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2344, allocations: 0 / 409.3 MB, free: 26.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.2344, allocations: 11.98 kB / 409.3 MB, free: 26.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.2347, allocations: 25.28 kB / 409.4 MB, free: 26.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.235, allocations: 181.7 kB / 409.5 MB, free: 25.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2351, allocations: 0.6887 MB / 410.2 MB, free: 25.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.714e-05/0.2351, allocations: 4 kB / 410.2 MB, free: 25.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.2351, allocations: 7.438 kB / 410.2 MB, free: 25.26 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2351, allocations: 0 / 410.2 MB, free: 25.26 MB / 298.7 MB Notification: Performance of Templates: time 0.001987/0.2371, allocations: 433.4 kB / 410.7 MB, free: 24.84 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches