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.001386/0.001386, allocations: 106.1 kB / 16.51 MB, free: 6.707 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.001379/0.001379, allocations: 191.9 kB / 17.43 MB, free: 6.066 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 50.42 kB / 299.9 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09863, allocations: 49.44 MB / 349.4 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003347/0.102, allocations: 2.044 MB / 351.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.1028, allocations: 0.557 MB / 352 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.1029, allocations: 3.938 kB / 352 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1031, allocations: 31.72 kB / 352 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.1032, allocations: 31.7 kB / 352.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.1034, allocations: 59.91 kB / 352.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1036, allocations: 195.2 kB / 352.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1038, allocations: 72.22 kB / 352.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1039, allocations: 67.7 kB / 352.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.104, allocations: 71.52 kB / 352.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.104, allocations: 8 kB / 352.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.487e-05/0.104, allocations: 8 kB / 352.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.36e-05/0.1041, allocations: 31.83 kB / 352.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.913e-05/0.1042, allocations: 79.42 kB / 352.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1043, allocations: 155.6 kB / 352.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1043, allocations: 0 / 352.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1044, allocations: 4 kB / 352.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1044, allocations: 0 / 352.8 MB, free: 1.398 MB / 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.0006998/0.1051, allocations: 0.4907 MB / 353.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1051, allocations: 12.03 kB / 353.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.1052, allocations: 24.59 kB / 353.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1055, allocations: 227.9 kB / 353.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1055, allocations: 8.375 kB / 353.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.1055, allocations: 24.03 kB / 353.6 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.1058, allocations: 172.1 kB / 353.7 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1058, allocations: 0 / 353.7 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1059, allocations: 4 kB / 353.7 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1059, allocations: 4 kB / 353.7 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.1061, allocations: 94.44 kB / 353.8 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008774/0.107, allocations: 0.6371 MB / 354.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.1072, allocations: 127.8 kB / 354.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1073, allocations: 54.67 kB / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1074, allocations: 3.984 kB / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1074, allocations: 46.5 kB / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1074, allocations: 0 / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004723/0.1079, allocations: 181.5 kB / 354.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.1079, allocations: 102.8 kB / 355 MB, free: 14.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1082, allocations: 229 kB / 355.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1082, allocations: 33.7 kB / 355.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.1083, allocations: 136.1 kB / 355.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.1083, allocations: 43.36 kB / 355.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.1084, allocations: 33.7 kB / 355.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1085, allocations: 334.8 kB / 355.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1086, allocations: 39.97 kB / 355.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1087, allocations: 94.78 kB / 355.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.109, allocations: 142.8 kB / 356 MB, free: 13.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.109, allocations: 3.938 kB / 356 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003349/0.1093, allocations: 177.2 kB / 356.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1094, allocations: 14.48 kB / 356.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1094, allocations: 0 / 356.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1094, allocations: 8.188 kB / 356.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1096, allocations: 39.92 kB / 356.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1096, allocations: 0 / 356.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1097, allocations: 19.83 kB / 356.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1097, allocations: 8 kB / 356.3 MB, free: 13.56 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 0.0001134/0.1099, allocations: 134.2 kB / 356.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.1099, allocations: 23.72 kB / 356.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.1103, allocations: 186.8 kB / 356.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1103, allocations: 0 / 356.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1103, allocations: 4 kB / 356.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.16e-05/0.1104, allocations: 4.078 kB / 356.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.1108, allocations: 269.4 kB / 356.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1109, allocations: 7.938 kB / 356.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.111, allocations: 39.91 kB / 357 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1111, allocations: 384 / 357 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1111, allocations: 8 kB / 357 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1111, allocations: 4 kB / 357 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1111, allocations: 4 kB / 357 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.1116, allocations: 469.5 kB / 357.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.1117, allocations: 104.8 kB / 357.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1118, allocations: 12.05 kB / 357.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.112, allocations: 8 kB / 357.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.112, allocations: 7.984 kB / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.112, allocations: 4 kB / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1122, allocations: 176.4 kB / 357.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1122, allocations: 0 / 357.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.1126, allocations: 32 kB / 357.8 MB, free: 12 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 0.0001029/0.1127, allocations: 107.2 kB / 357.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.113, allocations: 111.8 kB / 358 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.113, allocations: 0 / 358 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1131, allocations: 68.2 kB / 358.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1136, allocations: 20.38 kB / 358.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1147, allocations: 0.6802 MB / 358.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1151, allocations: 0.74 MB / 359.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.888e-05/0.1151, allocations: 21.53 kB / 359.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.1152, allocations: 15.44 kB / 359.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1152, allocations: 0 / 359.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of Templates: time 0.00382/0.119, allocations: 1.247 MB / 360.8 MB, free: 8.926 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 -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