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.001232/0.001232, allocations: 109.6 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 56.44 kB / 306.4 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1031, allocations: 50.53 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008572/0.1117, allocations: 7.144 MB / 364.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005102/0.1168, allocations: 2.349 MB / 366.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009024/0.1178, allocations: 19.94 kB / 366.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.1195, allocations: 453.7 kB / 366.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.1205, allocations: 325.6 kB / 367.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.1209, allocations: 183.9 kB / 367.4 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.122, allocations: 1.202 MB / 368.6 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006728/0.1227, allocations: 0.4998 MB / 369.1 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.1233, allocations: 462.1 kB / 369.6 MB, free: 1.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.1238, allocations: 0.4899 MB / 370.1 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.1239, allocations: 112 kB / 370.2 MB, free: 1.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.1243, allocations: 156 kB / 370.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1244, allocations: 227.2 kB / 370.6 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.1249, allocations: 0.5365 MB / 371.1 MB, free: 204 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1971/0.322, allocations: 1.415 MB / 372.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3221, allocations: 0 / 372.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3221, allocations: 0 / 372.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.3221, allocations: 1.922 kB / 372.5 MB, free: 11.79 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.002172/0.3243, allocations: 1.248 MB / 373.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3243, allocations: 10.31 kB / 373.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/0.3248, allocations: 141.3 kB / 373.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.3257, allocations: 0.6429 MB / 374.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.3258, allocations: 60.34 kB / 374.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3259, allocations: 77.03 kB / 374.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.3273, allocations: 0.784 MB / 375.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.3274, allocations: 7.031 kB / 375.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.3275, allocations: 35.59 kB / 375.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.3275, allocations: 23.31 kB / 375.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.3285, allocations: 0.5205 MB / 376 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.3326, allocations: 3.393 MB / 379.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.3331, allocations: 223.4 kB / 379.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.3333, allocations: 119.4 kB / 379.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3334, allocations: 3.406 kB / 379.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3334, allocations: 33.28 kB / 379.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/0.3334, allocations: 3.938 kB / 379.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002046/0.3355, allocations: 1.045 MB / 380.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.3355, allocations: 80.25 kB / 380.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.3366, allocations: 0.7402 MB / 381.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3366, allocations: 31.97 kB / 381.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.337, allocations: 0.4883 MB / 382.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.414e-05/0.3371, allocations: 107 kB / 382.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.3372, allocations: 117 kB / 382.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3374, allocations: 376.9 kB / 382.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.3377, allocations: 122.6 kB / 382.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.3381, allocations: 423.1 kB / 383.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007197/0.3388, allocations: 0.5706 MB / 383.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.3388, allocations: 4.062 kB / 383.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001087/0.3399, allocations: 0.6164 MB / 384.5 MB, free: 5.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.34, allocations: 12.97 kB / 384.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.34, allocations: 10.42 kB / 384.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.3402, allocations: 29.23 kB / 384.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.3406, allocations: 138.8 kB / 384.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007896/0.3414, allocations: 1.389 MB / 386.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.3419, allocations: 42.81 kB / 386.1 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.3419, allocations: 29.56 kB / 386.2 MB, free: 4.25 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.0002529/0.3422, allocations: 236.6 kB / 386.4 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3423, allocations: 72.75 kB / 386.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.3429, allocations: 322.4 kB / 386.8 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3429, allocations: 10.03 kB / 386.8 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3429, allocations: 2.234 kB / 386.8 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3429, allocations: 0.9375 kB / 386.8 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.3446, allocations: 1.101 MB / 387.9 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3446, allocations: 4.938 kB / 387.9 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.3449, allocations: 61.33 kB / 388 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-05/0.3449, allocations: 27.94 kB / 388 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.345, allocations: 3.125 kB / 388 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006744/0.3457, allocations: 1.368 MB / 389.4 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3457, allocations: 4.125 kB / 389.4 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.3465, allocations: 0.5595 MB / 389.9 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.3467, allocations: 175.7 kB / 390.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/0.3468, allocations: 7.812 kB / 390.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.3471, allocations: 18.12 kB / 390.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.3472, allocations: 28.44 kB / 390.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3472, allocations: 9.094 kB / 390.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006173/0.3478, allocations: 0.5049 MB / 390.7 MB, free: 1.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3478, allocations: 1.406 kB / 390.7 MB, free: 1.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007026/0.3486, allocations: 165.8 kB / 390.8 MB, free: 1.035 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.0001986/0.3488, allocations: 114.5 kB / 390.9 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008415/0.3496, allocations: 478.2 kB / 391.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3496, allocations: 1.281 kB / 391.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.35, allocations: 235.5 kB / 391.6 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009973/0.351, allocations: 188.9 kB / 391.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.3534, allocations: 1.762 MB / 393.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.354, allocations: 0.938 MB / 394.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.3544, allocations: 90.11 kB / 394.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3545, allocations: 55.38 kB / 394.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3545, allocations: 0 / 394.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of Templates: time 0.01654/0.371, allocations: 8.056 MB / 402.7 MB, free: 11.03 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/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