Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.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 4.0.0+maint.om/package.mo", uses=false) 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) 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.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001199/0.001199, allocations: 185.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2469, allocations: 49.43 MB / 401.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002811/0.2498, allocations: 2.008 MB / 403.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008502/0.2507, allocations: 0.5687 MB / 404 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.825e-05/0.2508, allocations: 4 kB / 404 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2509, allocations: 43.53 kB / 404 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.103e-05/0.251, allocations: 35.59 kB / 404.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.2512, allocations: 63.86 kB / 404.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.2515, allocations: 211.2 kB / 404.3 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.2516, allocations: 68.36 kB / 404.4 MB, free: 6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.2518, allocations: 75.7 kB / 404.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.2519, allocations: 75.56 kB / 404.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.2519, allocations: 16 kB / 404.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.593e-05/0.2519, allocations: 12 kB / 404.6 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.252, allocations: 39.78 kB / 404.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.2521, allocations: 83.47 kB / 404.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2523, allocations: 171.2 kB / 404.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2523, allocations: 0 / 404.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2523, allocations: 4 kB / 404.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2523, allocations: 3.938 kB / 404.9 MB, free: 5.531 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006316/0.2529, allocations: 499.9 kB / 405.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.253, allocations: 8.031 kB / 405.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.253, allocations: 24.66 kB / 405.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.2533, allocations: 227.9 kB / 405.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2533, allocations: 16.31 kB / 405.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.2533, allocations: 15.94 kB / 405.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.2536, allocations: 168.7 kB / 405.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2537, allocations: 3.938 kB / 405.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.2537, allocations: 11.98 kB / 405.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2537, allocations: 4 kB / 405.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.2539, allocations: 91.88 kB / 405.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.2548, allocations: 0.6409 MB / 406.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.2551, allocations: 135.7 kB / 406.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2552, allocations: 50.69 kB / 406.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2552, allocations: 4 kB / 406.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2553, allocations: 34.56 kB / 406.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.2553, allocations: 0 / 406.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004827/0.2558, allocations: 181.3 kB / 406.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2558, allocations: 106.8 kB / 407.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.256, allocations: 229 kB / 407.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.2561, allocations: 33.7 kB / 407.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.2561, allocations: 136 kB / 407.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.2562, allocations: 39.36 kB / 407.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.2563, allocations: 41.83 kB / 407.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2564, allocations: 334.8 kB / 407.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2565, allocations: 35.98 kB / 407.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2566, allocations: 90.83 kB / 408 MB, free: 2.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.2569, allocations: 147.2 kB / 408.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2569, allocations: 0 / 408.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003446/0.2572, allocations: 189.2 kB / 408.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2573, allocations: 4 kB / 408.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2573, allocations: 4 kB / 408.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2573, allocations: 0 / 408.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2575, allocations: 40.16 kB / 408.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2575, allocations: 7.938 kB / 408.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2576, allocations: 15.84 kB / 408.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.2576, allocations: 11.98 kB / 408.4 MB, free: 1.684 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001083/0.2577, allocations: 129.8 kB / 408.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.2578, allocations: 15.81 kB / 408.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.2582, allocations: 190.6 kB / 408.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.2583, allocations: 7.984 kB / 408.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2583, allocations: 0 / 408.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.2583, allocations: 96.92 kB / 408.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2584, allocations: 0 / 408.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2586, allocations: 15.92 kB / 408.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.2586, allocations: 11.98 kB / 408.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006082/0.2593, allocations: 419.2 kB / 409.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005838/0.2599, allocations: 0.5532 MB / 409.8 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001363/0.26, allocations: 72.23 kB / 409.9 MB, free: 132 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.2602, allocations: 172.4 kB / 410 MB, free: 15.96 MB / 334.1 MB Notification: Performance of Backend: time 5.31e-07/0.2602, allocations: 0 / 410 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.2608, allocations: 153.2 kB / 410.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of SimCode: time 0.001015/0.2619, allocations: 1.037 MB / 411.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Templates: time 0.004326/0.2662, allocations: 1.583 MB / 412.8 MB, free: 13.13 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches