Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.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) 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.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed") translateModel(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 110.6 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.372/1.372, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08338/0.08478, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed): time 0.00302/0.08784, allocations: 1.83 MB / 377.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.08928, allocations: 0.7055 MB / 378.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.08943, allocations: 0 / 378.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.08961, allocations: 27.67 kB / 378.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.08978, allocations: 55.45 kB / 378.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000765/0.09055, allocations: 243.4 kB / 378.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.09094, allocations: 331 kB / 379 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.372e-05/0.09102, allocations: 28.67 kB / 379 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.09121, allocations: 147.4 kB / 379.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.09139, allocations: 167.2 kB / 379.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.09146, allocations: 28 kB / 379.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.09178, allocations: 147.9 kB / 379.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.09189, allocations: 91.66 kB / 379.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.09205, allocations: 171 kB / 379.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.09257, allocations: 426.7 kB / 380.2 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09259, allocations: 0 / 380.2 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.0926, allocations: 0 / 380.2 MB, free: 200 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.09261, allocations: 0 / 380.2 MB, free: 200 kB / 318.1 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.1775/0.2701, allocations: 0.6671 MB / 380.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2702, allocations: 13.69 kB / 380.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008365/0.271, allocations: 111.3 kB / 381 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.2713, allocations: 266 kB / 381.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.2713, allocations: 17.02 kB / 381.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.2714, allocations: 22.88 kB / 381.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.2719, allocations: 284.2 kB / 381.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2719, allocations: 1.734 kB / 381.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.2719, allocations: 5.609 kB / 381.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2719, allocations: 6.75 kB / 381.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.2724, allocations: 174 kB / 381.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.2737, allocations: 0.8021 MB / 382.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/0.2746, allocations: 382.6 kB / 382.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.2749, allocations: 169.5 kB / 383.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2749, allocations: 7.344 kB / 383.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007437/0.2757, allocations: 350.2 kB / 383.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/0.2757, allocations: 0 / 383.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001371/0.2771, allocations: 0.6383 MB / 384.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.2772, allocations: 221.2 kB / 384.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.2775, allocations: 333.3 kB / 384.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.2776, allocations: 84.64 kB / 384.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.466e-05/0.2777, allocations: 163.2 kB / 384.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.77e-05/0.2778, allocations: 123 kB / 385 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.278, allocations: 139.3 kB / 385.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.2781, allocations: 363 kB / 385.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.2786, allocations: 287.6 kB / 385.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.2792, allocations: 374.9 kB / 386.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009857/0.2801, allocations: 0.6054 MB / 386.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2802, allocations: 4.625 kB / 386.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001464/0.2816, allocations: 0.7939 MB / 387.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2817, allocations: 6.531 kB / 387.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.2817, allocations: 2.969 kB / 387.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2817, allocations: 4.5 kB / 387.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.2823, allocations: 81.77 kB / 387.6 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.2824, allocations: 9.078 kB / 387.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.2826, allocations: 70.36 kB / 387.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.2827, allocations: 23.02 kB / 387.7 MB, free: 9.695 MB / 318.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: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,globalSeed.seed,manualSeed3.actualGlobalSeed,manualSeed3.localSeed,manualSeed2.actualGlobalSeed,manualSeed2.localSeed,manualSeed1.actualGlobalSeed,manualSeed1.localSeed,automaticSeed3.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed1.localSeed,globalSeed.id_impure,automaticSeed1.r_raw,$PRE.automaticSeed1.r_raw,automaticSeed1.r,$PRE.automaticSeed1.r,automaticSeed1.state[4],$PRE.automaticSeed1.state[4],automaticSeed1.state[3],$PRE.automaticSeed1.state[3],automaticSeed1.state[2],$PRE.automaticSeed1.state[2],automaticSeed1.state[1],$PRE.automaticSeed1.state[1],automaticSeed2.r_raw,$PRE.automaticSeed2.r_raw,automaticSeed2.r,$PRE.automaticSeed2.r,automaticSeed2.state[4],$PRE.automaticSeed2.state[4],automaticSeed2.state[3],$PRE.automaticSeed2.state[3],automaticSeed2.state[2],$PRE.automaticSeed2.state[2],automaticSeed2.state[1],$PRE.automaticSeed2.state[1],automaticSeed3.r_raw,$PRE.automaticSeed3.r_raw,automaticSeed3.r,$PRE.automaticSeed3.r,automaticSeed3.state[4],$PRE.automaticSeed3.state[4],automaticSeed3.state[3],$PRE.automaticSeed3.state[3],automaticSeed3.state[2],$PRE.automaticSeed3.state[2],automaticSeed3.state[1],$PRE.automaticSeed3.state[1],manualSeed1.r_raw,$PRE.manualSeed1.r_raw,manualSeed1.r,$PRE.manualSeed1.r,manualSeed1.state[4],$PRE.manualSeed1.state[4],manualSeed1.state[3],$PRE.manualSeed1.state[3],manualSeed1.state[2],$PRE.manualSeed1.state[2],manualSeed1.state[1],$PRE.manualSeed1.state[1],manualSeed2.r_raw,$PRE.manualSeed2.r_raw,manualSeed2.r,$PRE.manualSeed2.r,manualSeed2.state[4],$PRE.manualSeed2.state[4],manualSeed2.state[3],$PRE.manualSeed2.state[3],manualSeed2.state[2],$PRE.manualSeed2.state[2],manualSeed2.state[1],$PRE.manualSeed2.state[1],manualSeed3.r_raw,$PRE.manualSeed3.r_raw,manualSeed3.r,$PRE.manualSeed3.r,manualSeed3.state[4],$PRE.manualSeed3.state[4],manualSeed3.state[3],$PRE.manualSeed3.state[3],manualSeed3.state[2],$PRE.manualSeed3.state[2],manualSeed3.state[1],$PRE.manualSeed3.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 74 * Array equations: 6 * 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.0002613/0.2829, allocations: 220 kB / 387.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.283, allocations: 44.3 kB / 388 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.2831, allocations: 31.2 kB / 388 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2831, allocations: 2.438 kB / 388 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2831, allocations: 1.156 kB / 388 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.2832, allocations: 124.2 kB / 388.1 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.2832, allocations: 30.95 kB / 388.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.2834, allocations: 16.88 kB / 388.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2836, allocations: 40.12 kB / 388.2 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001079/0.2847, allocations: 0.9478 MB / 389.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009724/0.2856, allocations: 1.03 MB / 390.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003446/0.286, allocations: 183.7 kB / 390.4 MB, free: 7.969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.2862, allocations: 221 kB / 390.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of Backend: time 5.71e-07/0.2862, allocations: 0 / 390.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.2882, allocations: 0.5958 MB / 391.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008855/0.2891, allocations: 0.924 MB / 392.1 MB, free: 6.859 MB / 318.1 MB Notification: Performance of Templates: time 0.01164/0.3007, allocations: 5.068 MB / 397.2 MB, free: 6.039 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/AutomaticSeed/AutomaticSeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches