Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009542/0.0009541, allocations: 105 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008165/0.0008165, allocations: 39.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2396, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002844/0.2425, allocations: 1.903 MB / 401.4 MB, free: 31.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2436, allocations: 0.6622 MB / 402 MB, free: 30.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2437, allocations: 6 kB / 402 MB, free: 30.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.2439, allocations: 15.86 kB / 402.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.244, allocations: 19.86 kB / 402.1 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.2445, allocations: 144 kB / 402.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.2447, allocations: 135.6 kB / 402.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2448, allocations: 69.33 kB / 402.4 MB, free: 30.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.955e-05/0.2449, allocations: 55.7 kB / 402.5 MB, free: 30.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.245, allocations: 51.7 kB / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.2451, allocations: 8 kB / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.2452, allocations: 39.97 kB / 402.6 MB, free: 30.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.2452, allocations: 43.81 kB / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.2453, allocations: 63.48 kB / 402.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.2455, allocations: 183.4 kB / 402.9 MB, free: 29.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2455, allocations: 0 / 402.9 MB, free: 29.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2455, allocations: 0 / 402.9 MB, free: 29.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.2456, allocations: 4 kB / 402.9 MB, free: 29.97 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006284/0.2462, allocations: 472.4 kB / 403.3 MB, free: 29.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2462, allocations: 12.03 kB / 403.3 MB, free: 29.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.2463, allocations: 16.75 kB / 403.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.2465, allocations: 240 kB / 403.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2466, allocations: 12.56 kB / 403.6 MB, free: 29.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2466, allocations: 8.125 kB / 403.6 MB, free: 29.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.2471, allocations: 332.6 kB / 403.9 MB, free: 28.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2472, allocations: 0 / 403.9 MB, free: 28.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.2472, allocations: 8 kB / 403.9 MB, free: 28.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2472, allocations: 0 / 403.9 MB, free: 28.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.2474, allocations: 84.44 kB / 404 MB, free: 28.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.2478, allocations: 345.5 kB / 404.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.2482, allocations: 266.4 kB / 404.6 MB, free: 28.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.2484, allocations: 105.7 kB / 404.7 MB, free: 27.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/0.2489, allocations: 0.5895 MB / 405.3 MB, free: 27.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.2489, allocations: 30.56 kB / 405.3 MB, free: 27.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.2489, allocations: 0 / 405.3 MB, free: 27.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005334/0.2495, allocations: 237.2 kB / 405.6 MB, free: 26.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.2495, allocations: 118.8 kB / 405.7 MB, free: 26.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2497, allocations: 192.5 kB / 405.9 MB, free: 26.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2497, allocations: 33.64 kB / 405.9 MB, free: 26.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.2498, allocations: 104.5 kB / 406 MB, free: 26.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.2498, allocations: 20.02 kB / 406 MB, free: 26.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.2498, allocations: 45.61 kB / 406.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.2499, allocations: 326.8 kB / 406.4 MB, free: 26.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.25, allocations: 43.91 kB / 406.4 MB, free: 25.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.2501, allocations: 161.1 kB / 406.6 MB, free: 25.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2502, allocations: 208.1 kB / 406.8 MB, free: 25.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2502, allocations: 0 / 406.8 MB, free: 25.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002526/0.2505, allocations: 221.5 kB / 407 MB, free: 25.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2505, allocations: 4 kB / 407 MB, free: 25.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2505, allocations: 11.98 kB / 407 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2506, allocations: 4 kB / 407 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.2507, allocations: 43.91 kB / 407.1 MB, free: 25.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2507, allocations: 4 kB / 407.1 MB, free: 25.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-05/0.2508, allocations: 19.91 kB / 407.1 MB, free: 25.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.2508, allocations: 8 kB / 407.1 MB, free: 25.19 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.000113/0.251, allocations: 157.7 kB / 407.3 MB, free: 25.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.2512, allocations: 168 kB / 407.4 MB, free: 24.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.2515, allocations: 176 kB / 407.6 MB, free: 24.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2515, allocations: 3.984 kB / 407.6 MB, free: 24.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2515, allocations: 0 / 407.6 MB, free: 24.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2516, allocations: 4 kB / 407.6 MB, free: 24.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.2517, allocations: 229.4 kB / 407.8 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2517, allocations: 11.94 kB / 407.8 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.2519, allocations: 31.92 kB / 407.9 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2519, allocations: 0 / 407.9 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.2519, allocations: 11.98 kB / 407.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2519, allocations: 0 / 407.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2519, allocations: 4 kB / 407.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005804/0.2525, allocations: 0.9227 MB / 408.8 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.2526, allocations: 124.7 kB / 408.9 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2526, allocations: 4 kB / 408.9 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2527, allocations: 11.98 kB / 408.9 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.2528, allocations: 3.938 kB / 409 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2528, allocations: 8 kB / 409 MB, free: 23.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.084e-05/0.2529, allocations: 147.4 kB / 409.1 MB, free: 23.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2529, allocations: 0 / 409.1 MB, free: 23.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003724/0.2532, allocations: 31.94 kB / 409.1 MB, free: 23.02 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001508/0.2534, allocations: 126.3 kB / 409.3 MB, free: 22.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.2537, allocations: 144.2 kB / 409.4 MB, free: 22.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2537, allocations: 0 / 409.4 MB, free: 22.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.2538, allocations: 12 kB / 409.4 MB, free: 22.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.2543, allocations: 145.6 kB / 409.6 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.2549, allocations: 0.5412 MB / 410.1 MB, free: 22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.2551, allocations: 0.7402 MB / 410.8 MB, free: 21.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.198e-05/0.2551, allocations: 17.55 kB / 410.9 MB, free: 21.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.2552, allocations: 15.44 kB / 410.9 MB, free: 21.2 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2552, allocations: 0 / 410.9 MB, free: 21.2 MB / 298.7 MB Notification: Performance of Templates: time 0.004599/0.2598, allocations: 2.3 MB / 413.2 MB, free: 18.92 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches