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.001204/0.001204, allocations: 108.3 kB / 17.68 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.001111/0.001111, allocations: 192 kB / 18.62 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.296/1.296, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 58.41 kB / 302 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09056, allocations: 49.43 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002883/0.09347, allocations: 1.983 MB / 353.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.09428, allocations: 0.5765 MB / 354 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.09437, allocations: 0 / 354 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.09451, allocations: 43.53 kB / 354.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.0946, allocations: 35.59 kB / 354.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.09481, allocations: 67.88 kB / 354.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.09502, allocations: 207.1 kB / 354.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.0952, allocations: 80.2 kB / 354.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.09531, allocations: 75.7 kB / 354.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.889e-05/0.09542, allocations: 79.52 kB / 354.6 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.09545, allocations: 12 kB / 354.6 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.17e-05/0.09548, allocations: 12 kB / 354.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.09552, allocations: 39.83 kB / 354.7 MB, free: 476 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.0956, allocations: 79.48 kB / 354.8 MB, free: 396 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.09577, allocations: 175.2 kB / 354.9 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.09578, allocations: 4 kB / 354.9 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09579, allocations: 0 / 354.9 MB, free: 216 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.0958, allocations: 3.938 kB / 354.9 MB, free: 212 kB / 286.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.0006264/0.09643, allocations: 498.4 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.09648, allocations: 8.031 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.09653, allocations: 24.66 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.09675, allocations: 235.9 kB / 355.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.09677, allocations: 8.375 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.09682, allocations: 20.03 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.0971, allocations: 172.7 kB / 355.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.09712, allocations: 0 / 355.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.09714, allocations: 4 kB / 355.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.09715, allocations: 4 kB / 355.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.09738, allocations: 87.88 kB / 356 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.09824, allocations: 0.6373 MB / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.09848, allocations: 135.8 kB / 356.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.09861, allocations: 62.67 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.09863, allocations: 0 / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.09867, allocations: 34.56 kB / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.09867, allocations: 0 / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004595/0.09914, allocations: 181.3 kB / 357 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.0992, allocations: 106.8 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.09941, allocations: 233 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.09943, allocations: 25.7 kB / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.09952, allocations: 136 kB / 357.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.09957, allocations: 47.34 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.09963, allocations: 29.7 kB / 357.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.09975, allocations: 342.8 kB / 357.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.09986, allocations: 35.97 kB / 358 MB, free: 12.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1, allocations: 90.84 kB / 358 MB, free: 12.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.1003, allocations: 146.7 kB / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1003, allocations: 0 / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003289/0.1006, allocations: 189.1 kB / 358.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1006, allocations: 8 kB / 358.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1006, allocations: 0 / 358.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1006, allocations: 4 kB / 358.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1008, allocations: 31.92 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1008, allocations: 7.984 kB / 358.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1009, allocations: 24.03 kB / 358.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.101, allocations: 4 kB / 358.4 MB, free: 12.37 MB / 302.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 9.918e-05/0.1011, allocations: 141.6 kB / 358.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.1011, allocations: 23.72 kB / 358.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.1015, allocations: 178.8 kB / 358.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1015, allocations: 4 kB / 358.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1015, allocations: 8.5 kB / 358.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1016, allocations: 4 kB / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.102, allocations: 269.4 kB / 359.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.102, allocations: 4 kB / 359.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1022, allocations: 35.97 kB / 359.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1022, allocations: 0 / 359.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1022, allocations: 8 kB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1022, allocations: 7.875 kB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1022, allocations: 0 / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.1027, allocations: 469.7 kB / 359.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1028, allocations: 108.8 kB / 359.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1029, allocations: 4 kB / 359.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.103, allocations: 4 kB / 359.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.1031, allocations: 19.98 kB / 359.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1031, allocations: 7.984 kB / 359.7 MB, free: 11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1033, allocations: 176.3 kB / 359.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1033, allocations: 0 / 359.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.1036, allocations: 28 kB / 359.9 MB, free: 10.8 MB / 302.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 8.559e-05/0.1037, allocations: 99.25 kB / 360 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.104, allocations: 122.4 kB / 360.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.104, allocations: 4 kB / 360.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.1041, allocations: 59.91 kB / 360.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1045, allocations: 23.61 kB / 360.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.1054, allocations: 0.6161 MB / 360.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1057, allocations: 0.7397 MB / 361.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.1058, allocations: 25.52 kB / 361.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.1058, allocations: 23.44 kB / 361.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1058, allocations: 0 / 361.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of Templates: time 0.00413/0.11, allocations: 1.342 MB / 363 MB, free: 7.699 MB / 302.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 -s gbode -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