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.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009647/0.0009648, allocations: 179.7 kB / 16.71 MB, free: 4.969 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.31/1.31, 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.00083/0.0008301, allocations: 94.91 kB / 294.4 MB, free: 9.516 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 4 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.244, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001152/0.2452, allocations: 0.6499 MB / 405.2 MB, free: 30.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002701/0.2455, allocations: 107.7 kB / 405.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.2456, allocations: 6.031 kB / 405.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.2456, allocations: 7.922 kB / 405.4 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.2458, allocations: 3.938 kB / 405.4 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.246, allocations: 31.97 kB / 405.4 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.2461, allocations: 35.86 kB / 405.4 MB, free: 30.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2462, allocations: 26.62 kB / 405.4 MB, free: 30.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/0.2462, allocations: 7.938 kB / 405.5 MB, free: 30.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.2463, allocations: 19.86 kB / 405.5 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2463, allocations: 2.406 kB / 405.5 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.2463, allocations: 4 kB / 405.5 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.2464, allocations: 15.86 kB / 405.5 MB, free: 30.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.2464, allocations: 53.45 kB / 405.5 MB, free: 30.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.403e-05/0.2465, allocations: 47.8 kB / 405.6 MB, free: 30.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2465, allocations: 0 / 405.6 MB, free: 30.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2465, allocations: 1.25 kB / 405.6 MB, free: 30.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.2466, allocations: 0 / 405.6 MB, free: 30.31 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003183/0.2469, allocations: 361.6 kB / 405.9 MB, free: 29.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2469, allocations: 8.031 kB / 406 MB, free: 29.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.247, allocations: 16.16 kB / 406 MB, free: 29.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.2471, allocations: 192.2 kB / 406.2 MB, free: 29.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2471, allocations: 384 / 406.2 MB, free: 29.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2471, allocations: 8.375 kB / 406.2 MB, free: 29.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.2474, allocations: 127.8 kB / 406.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2474, allocations: 6.969 kB / 406.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-06/0.2474, allocations: 0 / 406.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2474, allocations: 8 kB / 406.3 MB, free: 29.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.2474, allocations: 15.98 kB / 406.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.2475, allocations: 177.5 kB / 406.5 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.2477, allocations: 69.47 kB / 406.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.2477, allocations: 36.89 kB / 406.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.2477, allocations: 7.984 kB / 406.6 MB, free: 29.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.2477, allocations: 34.55 kB / 406.6 MB, free: 29.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/0.2478, allocations: 4 kB / 406.6 MB, free: 29.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001507/0.2479, allocations: 89.47 kB / 406.7 MB, free: 29.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.248, allocations: 59.41 kB / 406.8 MB, free: 28.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.248, allocations: 137.7 kB / 406.9 MB, free: 28.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.248, allocations: 25.7 kB / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.104e-05/0.2481, allocations: 84.14 kB / 407 MB, free: 28.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.2481, allocations: 3.984 kB / 407 MB, free: 28.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-06/0.2481, allocations: 4 kB / 407 MB, free: 28.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.113e-05/0.2482, allocations: 314.8 kB / 407.3 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.2482, allocations: 15.98 kB / 407.4 MB, free: 28.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.2482, allocations: 50.88 kB / 407.4 MB, free: 28.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/0.2483, allocations: 78.73 kB / 407.5 MB, free: 28.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2483, allocations: 0 / 407.5 MB, free: 28.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.212e-05/0.2484, allocations: 93.41 kB / 407.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2484, allocations: 12.12 kB / 407.6 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2484, allocations: 0 / 407.6 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2484, allocations: 7.938 kB / 407.6 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.2485, allocations: 15.98 kB / 407.6 MB, free: 28.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2485, allocations: 4 kB / 407.6 MB, free: 28.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.2485, allocations: 7.875 kB / 407.6 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.2485, allocations: 4 kB / 407.6 MB, free: 28.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.702e-05/0.2486, allocations: 130 kB / 407.8 MB, free: 27.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.2487, allocations: 77.67 kB / 407.8 MB, free: 27.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.2487, allocations: 12.72 kB / 407.8 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2487, allocations: 0 / 407.8 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2487, allocations: 3.984 kB / 407.9 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2487, allocations: 0 / 407.9 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.557e-05/0.2488, allocations: 173.6 kB / 408 MB, free: 27.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2488, allocations: 0 / 408 MB, free: 27.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.2488, allocations: 15.92 kB / 408 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2489, allocations: 7.938 kB / 408 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2489, allocations: 4 kB / 408 MB, free: 27.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2489, allocations: 3.938 kB / 408.1 MB, free: 27.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2489, allocations: 0 / 408.1 MB, free: 27.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.216e-05/0.249, allocations: 101.4 kB / 408.2 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.249, allocations: 100.9 kB / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.249, allocations: 4 kB / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.249, allocations: 0 / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-06/0.2491, allocations: 0 / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.2491, allocations: 4 kB / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.2491, allocations: 111.8 kB / 408.4 MB, free: 27.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2491, allocations: 0 / 408.4 MB, free: 27.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.2493, allocations: 12 kB / 408.4 MB, free: 27.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 7.733e-05/0.2494, allocations: 103.2 kB / 408.5 MB, free: 27.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.534e-05/0.2495, allocations: 43.92 kB / 408.5 MB, free: 27.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2495, allocations: 0.5 kB / 408.5 MB, free: 27.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2495, allocations: 4 kB / 408.5 MB, free: 27.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2498, allocations: 48.81 kB / 408.6 MB, free: 26.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.25, allocations: 179.7 kB / 408.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.2502, allocations: 0.7004 MB / 409.5 MB, free: 26.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.067e-05/0.2502, allocations: 4 kB / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.2502, allocations: 7.438 kB / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2502, allocations: 4 kB / 409.5 MB, free: 26.01 MB / 298.7 MB Notification: Performance of Templates: time 0.002087/0.2523, allocations: 0.566 MB / 410 MB, free: 25.45 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches