Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006907/0.0006909, allocations: 96.94 kB / 16.06 MB, free: 36 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000747/0.0007471, allocations: 185.1 kB / 16.96 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 223.2 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0629/0.0629, allocations: 12.61 MB / 284 MB, free: 8.582 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006274/0.0006274, allocations: 24.94 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07449/0.07513, allocations: 50.38 MB / 395.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.001071/0.07624, allocations: 0.6071 MB / 396.2 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005147/0.07678, allocations: 243.2 kB / 396.4 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.07686, allocations: 0 / 396.4 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.0769, allocations: 3.938 kB / 396.4 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.07702, allocations: 11.98 kB / 396.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.07737, allocations: 83.84 kB / 396.5 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.178e-05/0.07747, allocations: 43.8 kB / 396.5 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.07756, allocations: 15.98 kB / 396.6 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.07759, allocations: 11.92 kB / 396.6 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.07766, allocations: 23.86 kB / 396.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.07768, allocations: 4 kB / 396.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.07778, allocations: 39.95 kB / 396.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.07784, allocations: 23.86 kB / 396.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.07789, allocations: 45.52 kB / 396.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.07803, allocations: 87.67 kB / 396.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.07804, allocations: 0 / 396.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.07805, allocations: 0 / 396.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.07805, allocations: 0 / 396.8 MB, free: 1.188 MB / 286.1 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.0004318/0.07849, allocations: 387.3 kB / 397.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.07853, allocations: 12.03 kB / 397.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.07857, allocations: 12.84 kB / 397.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.07875, allocations: 192.1 kB / 397.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.07877, allocations: 4.375 kB / 397.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.07879, allocations: 384 / 397.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.07905, allocations: 157.5 kB / 397.5 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.07906, allocations: 192 / 397.5 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.07908, allocations: 7.938 kB / 397.5 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.07909, allocations: 0 / 397.5 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.07914, allocations: 19.98 kB / 397.6 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.07941, allocations: 277.6 kB / 397.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.37e-05/0.07951, allocations: 54.5 kB / 397.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.07955, allocations: 24.86 kB / 397.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005718/0.08013, allocations: 0.5779 MB / 398.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.08017, allocations: 38.55 kB / 398.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.08017, allocations: 0 / 398.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001815/0.08036, allocations: 93.59 kB / 398.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.08042, allocations: 55.41 kB / 398.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.08054, allocations: 145.8 kB / 398.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.08056, allocations: 25.7 kB / 398.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.08061, allocations: 88.14 kB / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.08063, allocations: 11.89 kB / 398.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.08066, allocations: 13.72 kB / 398.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.08076, allocations: 326.8 kB / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.0808, allocations: 23.98 kB / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.08086, allocations: 65.88 kB / 399.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.109e-05/0.08095, allocations: 77.94 kB / 399.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.08096, allocations: 0 / 399.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001551/0.08112, allocations: 117.3 kB / 399.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.08115, allocations: 13.45 kB / 399.6 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.08116, allocations: 4 kB / 399.6 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.08118, allocations: 4 kB / 399.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.08126, allocations: 12 kB / 399.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.08127, allocations: 4 kB / 399.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.08131, allocations: 0 / 399.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.08133, allocations: 4.234 kB / 399.6 MB, free: 13.97 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001073/0.08144, allocations: 141.7 kB / 399.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.08154, allocations: 73.58 kB / 399.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.08169, allocations: 90.23 kB / 399.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.0817, allocations: 0 / 399.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.08171, allocations: 0 / 399.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.08172, allocations: 3.984 kB / 399.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.08184, allocations: 173.6 kB / 400.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.08186, allocations: 0 / 400.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.0819, allocations: 7.984 kB / 400.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.08191, allocations: 0 / 400.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.08192, allocations: 8 kB / 400.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.08193, allocations: 0 / 400.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.08193, allocations: 4 kB / 400.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.08206, allocations: 101 kB / 400.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.08213, allocations: 96.92 kB / 400.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.08216, allocations: 8 kB / 400.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.233e-05/0.08219, allocations: 0 / 400.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-06/0.0822, allocations: 0 / 400.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.08222, allocations: 7.938 kB / 400.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.519e-05/0.08231, allocations: 115.2 kB / 400.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08231, allocations: 4 kB / 400.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.08253, allocations: 20 kB / 400.4 MB, free: 13.03 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001355/0.08267, allocations: 107.4 kB / 400.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.08278, allocations: 47.92 kB / 400.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.0828, allocations: 0 / 400.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.0828, allocations: 4 kB / 400.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.08314, allocations: 91.38 kB / 400.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.08344, allocations: 191.2 kB / 400.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.08368, allocations: 0.7043 MB / 401.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.785e-05/0.08372, allocations: 16.66 kB / 401.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.08374, allocations: 11.44 kB / 401.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.08375, allocations: 0 / 401.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Templates: time 0.003309/0.08706, allocations: 1.249 MB / 402.8 MB, free: 10.54 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches