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.001269/0.001269, allocations: 109.4 kB / 17.06 MB, free: 6.023 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.001432/0.001432, allocations: 192 kB / 17.99 MB, free: 5.109 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 47.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3441, allocations: 49.43 MB / 400.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003199/0.3474, allocations: 1.999 MB / 402.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000994/0.3484, allocations: 0.5765 MB / 403.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3485, allocations: 7.938 kB / 403.3 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.3487, allocations: 39.53 kB / 403.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.3488, allocations: 35.66 kB / 403.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.3491, allocations: 55.88 kB / 403.4 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.3493, allocations: 219.1 kB / 403.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.3496, allocations: 68.36 kB / 403.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3497, allocations: 79.64 kB / 403.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.3498, allocations: 71.58 kB / 403.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.3499, allocations: 16 kB / 403.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.3499, allocations: 12 kB / 403.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.35, allocations: 39.83 kB / 403.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.35, allocations: 79.48 kB / 404 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.3503, allocations: 184.5 kB / 404.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3503, allocations: 0 / 404.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3503, allocations: 0 / 404.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3503, allocations: 0 / 404.2 MB, free: 5.562 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.0007027/0.351, allocations: 498.5 kB / 404.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3511, allocations: 8.031 kB / 404.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.3511, allocations: 24.66 kB / 404.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3514, allocations: 227.9 kB / 404.9 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3514, allocations: 16.38 kB / 404.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.3514, allocations: 15.94 kB / 404.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.3517, allocations: 176.6 kB / 405.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3518, allocations: 0 / 405.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3518, allocations: 8 kB / 405.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3518, allocations: 4 kB / 405.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.352, allocations: 87.92 kB / 405.2 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008885/0.3529, allocations: 0.6448 MB / 405.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3532, allocations: 131.8 kB / 406 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3533, allocations: 58.67 kB / 406 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3533, allocations: 4 kB / 406 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.3533, allocations: 34.5 kB / 406.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.3534, allocations: 0 / 406.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004787/0.3538, allocations: 181.4 kB / 406.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.3539, allocations: 106.8 kB / 406.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3542, allocations: 233 kB / 406.6 MB, free: 2.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3542, allocations: 25.7 kB / 406.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.3543, allocations: 132 kB / 406.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.3543, allocations: 51.34 kB / 406.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.3544, allocations: 29.7 kB / 406.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3545, allocations: 334.8 kB / 407.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3547, allocations: 43.97 kB / 407.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3548, allocations: 90.78 kB / 407.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.3551, allocations: 146.8 kB / 407.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.3551, allocations: 0 / 407.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003321/0.3554, allocations: 185.2 kB / 407.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3554, allocations: 7.938 kB / 407.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3555, allocations: 4 kB / 407.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3555, allocations: 4 kB / 407.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.3556, allocations: 35.91 kB / 407.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3557, allocations: 4 kB / 407.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3558, allocations: 20.59 kB / 407.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3558, allocations: 8 kB / 407.7 MB, free: 1.715 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.000122/0.3559, allocations: 133.7 kB / 407.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.356, allocations: 19.81 kB / 407.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.3564, allocations: 186.7 kB / 408 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3564, allocations: 4 kB / 408 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3564, allocations: 4 kB / 408 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3564, allocations: 4 kB / 408 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.3569, allocations: 269.5 kB / 408.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3569, allocations: 0 / 408.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.3571, allocations: 39.91 kB / 408.3 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3571, allocations: 0 / 408.3 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.3571, allocations: 4 kB / 408.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3571, allocations: 7.938 kB / 408.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3571, allocations: 0 / 408.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.3576, allocations: 475.2 kB / 408.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.3577, allocations: 104.8 kB / 408.9 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.3578, allocations: 4 kB / 408.9 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3579, allocations: 8.094 kB / 408.9 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.358, allocations: 11.97 kB / 408.9 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.358, allocations: 19.92 kB / 409 MB, free: 352 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3582, allocations: 168.5 kB / 409.1 MB, free: 184 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3582, allocations: 0 / 409.1 MB, free: 184 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.3585, allocations: 32 kB / 409.2 MB, free: 152 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001192/0.3587, allocations: 103.2 kB / 409.3 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.359, allocations: 122.5 kB / 409.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.359, allocations: 0 / 409.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3591, allocations: 71.88 kB / 409.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.3596, allocations: 12.44 kB / 409.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3606, allocations: 0.616 MB / 410.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.3609, allocations: 0.7358 MB / 410.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.361, allocations: 25.53 kB / 410.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.3611, allocations: 15.44 kB / 410.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3611, allocations: 0 / 410.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of Templates: time 0.003944/0.365, allocations: 1.384 MB / 412.2 MB, free: 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/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