Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 197.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 229.5 MB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008612/0.0008611, allocations: 91.66 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002457/0.0002459, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2544, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001386/0.2558, allocations: 1.269 MB / 413.3 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.2561, allocations: 131.7 kB / 413.5 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.2562, allocations: 3.938 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.2562, allocations: 0 / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2564, allocations: 7.938 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.2566, allocations: 31.91 kB / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.2567, allocations: 37.67 kB / 413.5 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2568, allocations: 19.95 kB / 413.6 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.2568, allocations: 11.88 kB / 413.6 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.2569, allocations: 12.72 kB / 413.6 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.2569, allocations: 4 kB / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.2569, allocations: 2.5 kB / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.257, allocations: 11.92 kB / 413.6 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.257, allocations: 45.52 kB / 413.6 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.393e-05/0.2571, allocations: 43.8 kB / 413.7 MB, free: 24.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2571, allocations: 4 kB / 413.7 MB, free: 24.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2571, allocations: 0 / 413.7 MB, free: 24.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2571, allocations: 0 / 413.7 MB, free: 24.27 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003647/0.2575, allocations: 358.2 kB / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2575, allocations: 8.656 kB / 414 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.2576, allocations: 8.844 kB / 414.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2577, allocations: 187.9 kB / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2578, allocations: 12.36 kB / 414.2 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.2578, allocations: 8.312 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2581, allocations: 113.6 kB / 414.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2581, allocations: 192 / 414.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2581, allocations: 3.938 kB / 414.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2581, allocations: 0 / 414.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.2582, allocations: 23.98 kB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.2584, allocations: 261.8 kB / 414.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.2586, allocations: 142.2 kB / 414.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.2587, allocations: 37.7 kB / 414.8 MB, free: 22.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.2587, allocations: 7.969 kB / 414.8 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.2587, allocations: 38.56 kB / 414.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.2587, allocations: 0 / 414.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002176/0.259, allocations: 81.52 kB / 414.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.259, allocations: 81.11 kB / 415 MB, free: 22.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.2591, allocations: 134.7 kB / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.2591, allocations: 25.7 kB / 415.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.2592, allocations: 88.14 kB / 415.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.2592, allocations: 3.984 kB / 415.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.2592, allocations: 3.938 kB / 415.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.2592, allocations: 310.8 kB / 415.6 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.2593, allocations: 15.98 kB / 415.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.2593, allocations: 31.44 kB / 415.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.32e-05/0.2594, allocations: 51.36 kB / 415.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2594, allocations: 0 / 415.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000107/0.2595, allocations: 85.39 kB / 415.8 MB, free: 21.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2595, allocations: 4 kB / 415.8 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2596, allocations: 4 kB / 415.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2596, allocations: 4 kB / 415.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.2596, allocations: 8.125 kB / 415.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2596, allocations: 7.984 kB / 415.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.2597, allocations: 4 kB / 415.8 MB, free: 21.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2597, allocations: 4 kB / 415.8 MB, free: 21.87 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 6.4e-05/0.2598, allocations: 121.7 kB / 415.9 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.2599, allocations: 53.53 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.2599, allocations: 8.25 kB / 416 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2599, allocations: 4 kB / 416 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2599, allocations: 0 / 416 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2599, allocations: 4 kB / 416 MB, free: 21.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.2601, allocations: 173.5 kB / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2601, allocations: 0 / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.2601, allocations: 11.98 kB / 416.2 MB, free: 21.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2601, allocations: 4 kB / 416.2 MB, free: 21.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.2601, allocations: 0 / 416.2 MB, free: 21.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2602, allocations: 3.938 kB / 416.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2602, allocations: 0 / 416.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.2603, allocations: 180.2 kB / 416.3 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.2603, allocations: 93 kB / 416.4 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2604, allocations: 0 / 416.4 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.2604, allocations: 4 kB / 416.4 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.2605, allocations: 0 / 416.4 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.2605, allocations: 4 kB / 416.4 MB, free: 21.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.448e-05/0.2605, allocations: 111.3 kB / 416.6 MB, free: 20.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2605, allocations: 0 / 416.6 MB, free: 20.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.2607, allocations: 4 kB / 416.6 MB, free: 20.99 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 (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.471e-05/0.2608, allocations: 103.6 kB / 416.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.261, allocations: 31.92 kB / 416.7 MB, free: 20.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.261, allocations: 4.25 kB / 416.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.261, allocations: 15.98 kB / 416.7 MB, free: 20.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.2613, allocations: 31.88 kB / 416.7 MB, free: 20.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.2616, allocations: 167.3 kB / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.2618, allocations: 0.6927 MB / 417.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.526e-05/0.2618, allocations: 4 kB / 417.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.2618, allocations: 7.438 kB / 417.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2618, allocations: 0 / 417.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of Templates: time 0.002234/0.2641, allocations: 452.8 kB / 418.1 MB, free: 19.44 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches