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.001432/0.001432, allocations: 117.2 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001549/0.001549, allocations: 208.5 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 67.88 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.266, allocations: 50.55 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.00848/0.2745, allocations: 7.14 MB / 416.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.2787, allocations: 2.384 MB / 418.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006142/0.2794, allocations: 16 kB / 418.8 MB, free: 8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.2808, allocations: 0.4891 MB / 419.3 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000918/0.2818, allocations: 385 kB / 419.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.2822, allocations: 195.8 kB / 419.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2834, allocations: 1.206 MB / 421.1 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000705/0.2841, allocations: 0.5115 MB / 421.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005944/0.2847, allocations: 474.1 kB / 422 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.2852, allocations: 497.8 kB / 422.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.2853, allocations: 115.9 kB / 422.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.2856, allocations: 156 kB / 422.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.2858, allocations: 223.2 kB / 423 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.2863, allocations: 0.5482 MB / 423.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.2876, allocations: 1.438 MB / 425 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2876, allocations: 0 / 425 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2876, allocations: 0 / 425 MB, free: 1.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.2876, allocations: 4 kB / 425 MB, free: 1.754 MB / 334.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.001851/0.2895, allocations: 1.243 MB / 426.2 MB, free: 472 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2895, allocations: 12.03 kB / 426.2 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004654/0.29, allocations: 139.7 kB / 426.4 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000954/0.2909, allocations: 0.6456 MB / 427 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.291, allocations: 58.38 kB / 427.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.2911, allocations: 80.38 kB / 427.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.2923, allocations: 0.7871 MB / 428 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.2923, allocations: 11.84 kB / 428 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.2924, allocations: 32 kB / 428 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.2924, allocations: 20 kB / 428 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009447/0.2934, allocations: 0.5231 MB / 428.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.297, allocations: 3.36 MB / 431.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.2975, allocations: 226.6 kB / 432.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.2977, allocations: 112.8 kB / 432.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.2977, allocations: 8 kB / 432.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.2978, allocations: 34.5 kB / 432.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.2978, allocations: 0 / 432.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001899/0.2997, allocations: 1.05 MB / 433.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2997, allocations: 81.34 kB / 433.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009095/0.3007, allocations: 0.7387 MB / 434.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3007, allocations: 29.7 kB / 434.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.301, allocations: 498.2 kB / 434.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.3011, allocations: 110.5 kB / 434.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.3013, allocations: 122.2 kB / 434.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3015, allocations: 370.8 kB / 435.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.3019, allocations: 129.2 kB / 435.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.3024, allocations: 418.2 kB / 435.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.3033, allocations: 0.5714 MB / 436.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3034, allocations: 0 / 436.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001117/0.3045, allocations: 0.6147 MB / 437 MB, free: 5.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3045, allocations: 12 kB / 437 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3045, allocations: 8 kB / 437 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.3047, allocations: 29.38 kB / 437 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.3052, allocations: 151.8 kB / 437.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.3063, allocations: 1.39 MB / 438.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.3068, allocations: 35.98 kB / 438.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.3069, allocations: 28 kB / 438.6 MB, free: 3.227 MB / 350.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.0003626/0.3073, allocations: 245.5 kB / 438.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3074, allocations: 79.14 kB / 438.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007023/0.3081, allocations: 325.3 kB / 439.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3081, allocations: 4 kB / 439.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3081, allocations: 0 / 439.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3081, allocations: 0 / 439.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.3099, allocations: 1.094 MB / 440.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3099, allocations: 4.203 kB / 440.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.3102, allocations: 63.91 kB / 440.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.066e-05/0.3103, allocations: 24.84 kB / 440.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.3104, allocations: 8 kB / 440.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3115, allocations: 1.363 MB / 441.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/0.3115, allocations: 3.938 kB / 441.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.3123, allocations: 0.5566 MB / 442.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.3125, allocations: 176.2 kB / 442.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.3126, allocations: 8 kB / 442.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.3129, allocations: 15.98 kB / 442.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.313, allocations: 27.91 kB / 442.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.313, allocations: 8 kB / 442.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005944/0.3136, allocations: 0.5069 MB / 443.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3136, allocations: 0 / 443.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007025/0.3143, allocations: 167.9 kB / 443.3 MB, free: 14.27 MB / 366.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.0002331/0.3146, allocations: 123.2 kB / 443.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009435/0.3155, allocations: 469.1 kB / 443.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3155, allocations: 0 / 443.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.3159, allocations: 230.5 kB / 444.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000868/0.3168, allocations: 185.8 kB / 444.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3189, allocations: 1.42 MB / 445.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3194, allocations: 0.9449 MB / 446.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.3197, allocations: 86.02 kB / 446.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3198, allocations: 47.44 kB / 446.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 1.773e-06/0.3198, allocations: 0 / 446.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01501/0.3348, allocations: 8.295 MB / 455 MB, free: 2.469 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/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