Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 195.7 kB / 17.43 MB, free: 4.363 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008505/0.0008506, allocations: 94.25 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3432, allocations: 51.41 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.00208/0.3454, allocations: 1.643 MB / 413.7 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008548/0.3463, allocations: 0.8018 MB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.3464, allocations: 4 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.3465, allocations: 32.16 kB / 414.5 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.633e-05/0.3466, allocations: 33.61 kB / 414.6 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.3468, allocations: 51.95 kB / 414.6 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.347, allocations: 198.7 kB / 414.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3472, allocations: 66.52 kB / 414.9 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.3473, allocations: 67.64 kB / 414.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.788e-05/0.3474, allocations: 63.58 kB / 415 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3475, allocations: 8 kB / 415 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.552e-05/0.3475, allocations: 12 kB / 415 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.3475, allocations: 23.84 kB / 415 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.3476, allocations: 101.1 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.3478, allocations: 156.9 kB / 415.3 MB, free: 22.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3478, allocations: 0 / 415.3 MB, free: 22.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3478, allocations: 0 / 415.3 MB, free: 22.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3478, allocations: 0 / 415.3 MB, free: 22.58 MB / 298.7 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.000538/0.3484, allocations: 474.7 kB / 415.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3484, allocations: 8.031 kB / 415.8 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.3486, allocations: 48.62 kB / 415.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.3488, allocations: 231.8 kB / 416 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3488, allocations: 8.375 kB / 416 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.3489, allocations: 20.31 kB / 416.1 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.3492, allocations: 168.5 kB / 416.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3492, allocations: 0 / 416.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3492, allocations: 8 kB / 416.2 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3492, allocations: 4 kB / 416.2 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.3494, allocations: 99.88 kB / 416.3 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.3502, allocations: 0.6373 MB / 417 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.3504, allocations: 135.7 kB / 417.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3505, allocations: 66.67 kB / 417.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.3505, allocations: 3.984 kB / 417.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3505, allocations: 38.56 kB / 417.2 MB, free: 20.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.3505, allocations: 0 / 417.2 MB, free: 20.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004164/0.351, allocations: 185.5 kB / 417.4 MB, free: 20.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.351, allocations: 110.8 kB / 417.5 MB, free: 20.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3512, allocations: 225 kB / 417.7 MB, free: 19.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3512, allocations: 29.7 kB / 417.7 MB, free: 19.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.3512, allocations: 140 kB / 417.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.3513, allocations: 43.3 kB / 417.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.3513, allocations: 4 kB / 417.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.3514, allocations: 334.8 kB / 418.3 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3515, allocations: 47.91 kB / 418.3 MB, free: 19.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3516, allocations: 100 kB / 418.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.3519, allocations: 154.7 kB / 418.6 MB, free: 19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3519, allocations: 0 / 418.6 MB, free: 19 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002808/0.3522, allocations: 197.2 kB / 418.7 MB, free: 18.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3522, allocations: 4 kB / 418.7 MB, free: 18.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3522, allocations: 4 kB / 418.8 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3522, allocations: 4 kB / 418.8 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3524, allocations: 31.98 kB / 418.8 MB, free: 18.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3524, allocations: 12.11 kB / 418.8 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.3525, allocations: 16.41 kB / 418.8 MB, free: 18.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.3525, allocations: 12 kB / 418.8 MB, free: 18.72 MB / 298.7 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 8.085e-05/0.3526, allocations: 130.4 kB / 419 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.3527, allocations: 27.7 kB / 419 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.353, allocations: 194.7 kB / 419.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.353, allocations: 4 kB / 419.2 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.353, allocations: 4 kB / 419.2 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.353, allocations: 0 / 419.2 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.3534, allocations: 273.4 kB / 419.4 MB, free: 18.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3534, allocations: 0 / 419.4 MB, free: 18.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.3536, allocations: 39.97 kB / 419.5 MB, free: 17.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3536, allocations: 4 kB / 419.5 MB, free: 17.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3536, allocations: 4 kB / 419.5 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3536, allocations: 0 / 419.5 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3536, allocations: 0 / 419.5 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.3541, allocations: 490 kB / 420 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.3541, allocations: 104.8 kB / 420.1 MB, free: 17.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3541, allocations: 4 kB / 420.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.3543, allocations: 8 kB / 420.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.3544, allocations: 11.98 kB / 420.1 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3544, allocations: 11.98 kB / 420.1 MB, free: 17.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.3545, allocations: 168.5 kB / 420.3 MB, free: 17.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3545, allocations: 0 / 420.3 MB, free: 17.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.3548, allocations: 32 kB / 420.3 MB, free: 17.14 MB / 298.7 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.0001089/0.3549, allocations: 111.2 kB / 420.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.3552, allocations: 131.8 kB / 420.5 MB, free: 16.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3552, allocations: 3.938 kB / 420.5 MB, free: 16.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3553, allocations: 67.89 kB / 420.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.3557, allocations: 20.38 kB / 420.6 MB, free: 16.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.3566, allocations: 0.7517 MB / 421.4 MB, free: 16.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.3568, allocations: 0.74 MB / 422.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.912e-05/0.3569, allocations: 21.53 kB / 422.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.3569, allocations: 15.44 kB / 422.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3569, allocations: 0 / 422.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of Templates: time 0.003295/0.3602, allocations: 1.228 MB / 423.4 MB, free: 13.99 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches