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.001553/0.001554, allocations: 112.3 kB / 18.41 MB, free: 4.695 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.001695/0.001695, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.244/1.244, 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.001249/0.001249, allocations: 47.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07391/0.07516, allocations: 46.63 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed): time 0.002754/0.07795, allocations: 1.826 MB / 377.7 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.07931, allocations: 0.7055 MB / 378.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.07943, allocations: 0 / 378.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.07957, allocations: 27.61 kB / 378.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.07972, allocations: 63.45 kB / 378.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.08042, allocations: 235.4 kB / 378.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.08075, allocations: 331 kB / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.328e-05/0.08083, allocations: 28.72 kB / 379 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.08099, allocations: 139.5 kB / 379.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.08114, allocations: 171.2 kB / 379.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.0812, allocations: 28 kB / 379.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.08149, allocations: 151.8 kB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.0816, allocations: 91.67 kB / 379.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.08175, allocations: 167 kB / 379.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.08222, allocations: 430.6 kB / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.08224, allocations: 0 / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.08225, allocations: 0 / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.08226, allocations: 0 / 380.2 MB, free: 208 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.1509/0.2331, allocations: 0.6668 MB / 380.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2332, allocations: 12.89 kB / 380.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00085/0.234, allocations: 111.3 kB / 381 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.2343, allocations: 265.1 kB / 381.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.2343, allocations: 16.78 kB / 381.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.2344, allocations: 21.75 kB / 381.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.2349, allocations: 291.3 kB / 381.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2349, allocations: 0.7656 kB / 381.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.2349, allocations: 7.938 kB / 381.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2349, allocations: 2.156 kB / 381.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.2354, allocations: 174.1 kB / 381.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.2366, allocations: 0.8033 MB / 382.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007838/0.2374, allocations: 388.7 kB / 382.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.2377, allocations: 167.1 kB / 383.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.2378, allocations: 2.078 kB / 383.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/0.2384, allocations: 348.8 kB / 383.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.454e-06/0.2384, allocations: 4.5 kB / 383.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001272/0.2397, allocations: 0.6358 MB / 384.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.2398, allocations: 220 kB / 384.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.2401, allocations: 333.2 kB / 384.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.401e-05/0.2402, allocations: 90.44 kB / 384.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.2403, allocations: 159.7 kB / 384.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/0.2404, allocations: 125.9 kB / 385 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.2406, allocations: 138.5 kB / 385.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.2407, allocations: 366.3 kB / 385.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/0.2412, allocations: 284.7 kB / 385.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.2417, allocations: 382.3 kB / 386.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/0.2427, allocations: 0.6048 MB / 386.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.2427, allocations: 1.094 kB / 386.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001287/0.244, allocations: 0.7915 MB / 387.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.244, allocations: 6.578 kB / 387.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.244, allocations: 1.156 kB / 387.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.244, allocations: 4.5 kB / 387.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.2444, allocations: 88.78 kB / 387.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2444, allocations: 4.312 kB / 387.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.2446, allocations: 64.97 kB / 387.7 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.2447, allocations: 21.98 kB / 387.7 MB, free: 9.973 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.0001994/0.2449, allocations: 225.5 kB / 387.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.2449, allocations: 37.45 kB / 388 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.245, allocations: 30.72 kB / 388 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.245, allocations: 2.344 kB / 388 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.245, allocations: 1.562 kB / 388 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.2451, allocations: 124.3 kB / 388.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.2452, allocations: 26.61 kB / 388.1 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2453, allocations: 24.64 kB / 388.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2454, allocations: 43.47 kB / 388.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009525/0.2464, allocations: 0.9498 MB / 389.2 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008668/0.2473, allocations: 1.03 MB / 390.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003488/0.2476, allocations: 177.6 kB / 390.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.2478, allocations: 221 kB / 390.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of Backend: time 4.21e-07/0.2479, allocations: 0 / 390.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.2496, allocations: 0.5956 MB / 391.2 MB, free: 7.898 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007509/0.2503, allocations: 0.9237 MB / 392.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of Templates: time 0.009569/0.2599, allocations: 4.892 MB / 397 MB, free: 6.406 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