Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.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.Blocks.Examples.Noise.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed") translateModel(Modelica.Blocks.Examples.Noise.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009141/0.000914, allocations: 176.3 kB / 17.4 MB, free: 4.305 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.399/1.399, allocations: 223.3 MB / 241.4 MB, free: 11.59 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.0008156/0.0008157, allocations: 100.5 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 11.98 kB / 352.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2647, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.3652, allocations: 77.49 MB / 480.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.3655, allocations: 71.97 kB / 480.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02301/0.3886, allocations: 8.395 MB / 488.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3886, allocations: 0 / 488.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3886, allocations: 8 kB / 488.7 MB, free: 10.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001002/0.3896, allocations: 0.6399 MB / 489.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3897, allocations: 8.031 kB / 489.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007535/0.3904, allocations: 124.4 kB / 489.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3907, allocations: 260.2 kB / 489.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.3908, allocations: 12.56 kB / 489.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.3908, allocations: 24.36 kB / 489.8 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.3913, allocations: 296 kB / 490 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3913, allocations: 0 / 490 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.3914, allocations: 11.98 kB / 490.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3914, allocations: 0 / 490.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.3918, allocations: 195.8 kB / 490.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.3931, allocations: 0.8426 MB / 491.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/0.3939, allocations: 424.1 kB / 491.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.3942, allocations: 185.1 kB / 491.7 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.3942, allocations: 4 kB / 491.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.3948, allocations: 353.6 kB / 492 MB, free: 6.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.603e-06/0.3948, allocations: 4 kB / 492 MB, free: 6.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.00134/0.3962, allocations: 0.674 MB / 492.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.3963, allocations: 223.9 kB / 492.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.3967, allocations: 340.2 kB / 493.3 MB, free: 5.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.3968, allocations: 85.64 kB / 493.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.397, allocations: 161.3 kB / 493.5 MB, free: 5.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3971, allocations: 122.6 kB / 493.6 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.3971, allocations: 11.98 kB / 493.6 MB, free: 5.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3973, allocations: 362.8 kB / 494 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.3978, allocations: 265.5 kB / 494.3 MB, free: 4.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.3984, allocations: 355 kB / 494.6 MB, free: 4.039 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.3994, allocations: 0.5784 MB / 495.2 MB, free: 3.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3994, allocations: 0 / 495.2 MB, free: 3.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001298/0.4007, allocations: 0.7566 MB / 495.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4007, allocations: 7.984 kB / 495.9 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.4008, allocations: 4 kB / 495.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4008, allocations: 4 kB / 496 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.4011, allocations: 75.89 kB / 496 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.4011, allocations: 7.938 kB / 496 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.4013, allocations: 71.36 kB / 496.1 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/0.4014, allocations: 39.97 kB / 496.1 MB, free: 2.473 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 68 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002953/0.4017, allocations: 226.3 kB / 496.4 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.4018, allocations: 35.53 kB / 496.4 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.4018, allocations: 30.7 kB / 496.4 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4019, allocations: 4 kB / 496.4 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.42e-05/0.4019, allocations: 0 / 496.4 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4019, allocations: 7.938 kB / 496.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.4023, allocations: 341.2 kB / 496.8 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4023, allocations: 0 / 496.8 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.4025, allocations: 31.98 kB / 496.8 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.4025, allocations: 4 kB / 496.8 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.4025, allocations: 7.984 kB / 496.8 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.4025, allocations: 7.938 kB / 496.8 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4025, allocations: 0 / 496.8 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.4035, allocations: 0.5826 MB / 497.4 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.4035, allocations: 124.5 kB / 497.5 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/0.4036, allocations: 35.97 kB / 497.6 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.4038, allocations: 27.97 kB / 497.6 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4039, allocations: 47.83 kB / 497.6 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.4039, allocations: 15.98 kB / 497.7 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002203/0.4042, allocations: 219.1 kB / 497.9 MB, free: 0.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4042, allocations: 0 / 497.9 MB, free: 0.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004318/0.4046, allocations: 108 kB / 498 MB, free: 0.5195 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition5,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition4,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,$whenCondition3,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition2,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition1,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw) * Number of discrete states: 24 (manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005543/0.4052, allocations: 284.9 kB / 498.2 MB, free: 280 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.4063, allocations: 0.7219 MB / 499 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4063, allocations: 0 / 499 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.4067, allocations: 204.2 kB / 499.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.407, allocations: 24.45 kB / 499.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.408, allocations: 0.638 MB / 499.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.4083, allocations: 0.7845 MB / 0.4889 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.4084, allocations: 42.94 kB / 0.4889 GB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.03e-05/0.4085, allocations: 39.42 kB / 0.489 GB, free: 13.71 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4086, allocations: 3.938 kB / 0.489 GB, free: 13.71 MB / 378.7 MB Notification: Performance of Templates: time 0.008659/0.4172, allocations: 4.292 MB / 0.4932 GB, free: 9.438 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/AutomaticSeed/AutomaticSeed.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches