Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 247 MB, free: 9.082 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 66.88 kB / 306.9 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.0982, allocations: 50.53 MB / 357.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008271/0.1065, allocations: 7.146 MB / 364.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003922/0.1105, allocations: 2.357 MB / 366.9 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.1116, allocations: 20 kB / 367 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.1133, allocations: 445.7 kB / 367.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.1146, allocations: 329.6 kB / 367.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.1152, allocations: 183.9 kB / 367.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.1167, allocations: 1.14 MB / 369 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006716/0.1174, allocations: 450.7 kB / 369.5 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.118, allocations: 410.2 kB / 369.9 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.1186, allocations: 473.7 kB / 370.3 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.1188, allocations: 72 kB / 370.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.1191, allocations: 116 kB / 370.5 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1193, allocations: 187.2 kB / 370.7 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005265/0.1198, allocations: 0.5013 MB / 371.2 MB, free: 464 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1635/0.2833, allocations: 1.143 MB / 372.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.2834, allocations: 0 / 372.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.2834, allocations: 0.7031 kB / 372.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.809e-05/0.2835, allocations: 0.8438 kB / 372.3 MB, free: 12.3 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002694/0.2862, allocations: 1.252 MB / 373.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.2863, allocations: 9.281 kB / 373.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006714/0.2869, allocations: 141 kB / 373.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.288, allocations: 0.6389 MB / 374.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.288, allocations: 60.41 kB / 374.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.2882, allocations: 81.78 kB / 374.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.2895, allocations: 0.7765 MB / 375.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.2895, allocations: 10.56 kB / 375.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.144e-05/0.2896, allocations: 30.89 kB / 375.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.2896, allocations: 19.66 kB / 375.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/0.2906, allocations: 0.5223 MB / 375.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/0.2945, allocations: 3.384 MB / 379.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.295, allocations: 229.9 kB / 379.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.2952, allocations: 114.4 kB / 379.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.2953, allocations: 9.672 kB / 379.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.2953, allocations: 35.28 kB / 379.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.2953, allocations: 0 / 379.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001932/0.2972, allocations: 1.042 MB / 380.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2973, allocations: 82.55 kB / 380.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/0.2982, allocations: 0.736 MB / 381.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2983, allocations: 31.02 kB / 381.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.2985, allocations: 0.4909 MB / 382 MB, free: 7.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.2986, allocations: 106.2 kB / 382.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.2987, allocations: 121.6 kB / 382.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2988, allocations: 375.6 kB / 382.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.2991, allocations: 122.9 kB / 382.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.2995, allocations: 420.8 kB / 383.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.3001, allocations: 0.577 MB / 383.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3001, allocations: 2.656 kB / 383.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009774/0.3011, allocations: 0.6162 MB / 384.3 MB, free: 6.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3011, allocations: 9.188 kB / 384.4 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3012, allocations: 9.688 kB / 384.4 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.3013, allocations: 30.05 kB / 384.4 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.3018, allocations: 141.4 kB / 384.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006957/0.3025, allocations: 1.3 MB / 385.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.303, allocations: 28.91 kB / 385.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.303, allocations: 30.81 kB / 385.9 MB, free: 4.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.3033, allocations: 245.6 kB / 386.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-05/0.3034, allocations: 74.38 kB / 386.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.304, allocations: 320.9 kB / 386.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.304, allocations: 2.594 kB / 386.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.304, allocations: 0.9062 kB / 386.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.304, allocations: 5.297 kB / 386.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.3055, allocations: 1.101 MB / 387.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3055, allocations: 1.312 kB / 387.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.3058, allocations: 61.86 kB / 387.7 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.061e-05/0.3059, allocations: 24.98 kB / 387.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.3059, allocations: 11.84 kB / 387.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005891/0.3065, allocations: 1.267 MB / 389 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3065, allocations: 4.906 kB / 389 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.3073, allocations: 0.5554 MB / 389.5 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.3075, allocations: 171.2 kB / 389.7 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/0.3076, allocations: 16.62 kB / 389.7 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.3079, allocations: 19.64 kB / 389.8 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.308, allocations: 24.94 kB / 389.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.308, allocations: 12.38 kB / 389.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006257/0.3087, allocations: 0.5007 MB / 390.3 MB, free: 1.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3087, allocations: 0 / 390.3 MB, free: 1.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000672/0.3094, allocations: 169.9 kB / 390.5 MB, free: 1.789 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001792/0.3095, allocations: 112.5 kB / 390.6 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008292/0.3104, allocations: 465 kB / 391 MB, free: 1.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3104, allocations: 1.75 kB / 391 MB, free: 1.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.3107, allocations: 238.9 kB / 391.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.3117, allocations: 173.9 kB / 391.4 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.3139, allocations: 1.794 MB / 393.2 MB, free: 92 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.3144, allocations: 0.9421 MB / 394.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.3145, allocations: 49.59 kB / 394.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3145, allocations: 0.9688 kB / 394.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of Templates: time 0.02053/0.3351, allocations: 13.4 MB / 407.6 MB, free: 7.004 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches