Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 113.7 kB / 18.45 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 212.7 kB / 19.4 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2436, allocations: 50.54 MB / 410.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008919/0.2525, allocations: 7.171 MB / 417.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004019/0.2565, allocations: 2.376 MB / 419.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006089/0.2571, allocations: 19.94 kB / 419.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.2584, allocations: 0.5204 MB / 420.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009352/0.2594, allocations: 417 kB / 420.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.2598, allocations: 195.8 kB / 420.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.2612, allocations: 1.199 MB / 422.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.2618, allocations: 344 kB / 422.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/0.2624, allocations: 474.1 kB / 422.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005936/0.263, allocations: 0.49 MB / 423.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.2631, allocations: 116 kB / 423.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.2635, allocations: 151.9 kB / 423.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.2637, allocations: 227.2 kB / 423.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.2642, allocations: 0.5443 MB / 424.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.2658, allocations: 1.447 MB / 425.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2658, allocations: 0 / 425.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2658, allocations: 0 / 425.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.2658, allocations: 0 / 425.8 MB, free: 1.723 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.002018/0.2678, allocations: 1.273 MB / 427.1 MB, free: 408 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2679, allocations: 8.031 kB / 427.1 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004881/0.2683, allocations: 152.1 kB / 427.3 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.2694, allocations: 0.6539 MB / 427.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.2695, allocations: 58.38 kB / 428 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.2696, allocations: 84.31 kB / 428.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.2709, allocations: 0.7871 MB / 428.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.2709, allocations: 0 / 428.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.271, allocations: 35.94 kB / 428.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.271, allocations: 20 kB / 428.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.2721, allocations: 0.5153 MB / 429.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.2764, allocations: 3.381 MB / 432.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.2769, allocations: 217.4 kB / 433 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.2771, allocations: 104.8 kB / 433.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.2771, allocations: 4 kB / 433.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.2772, allocations: 42.5 kB / 433.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.2772, allocations: 0 / 433.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.00217/0.2794, allocations: 1.059 MB / 434.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.2794, allocations: 81.34 kB / 434.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.2804, allocations: 0.7311 MB / 435 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.2805, allocations: 29.7 kB / 435.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.2809, allocations: 0.5073 MB / 435.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.281, allocations: 107.1 kB / 435.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.2811, allocations: 118.2 kB / 435.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.2813, allocations: 374.8 kB / 436.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.2816, allocations: 133.2 kB / 436.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.2821, allocations: 414.2 kB / 436.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008411/0.283, allocations: 0.5715 MB / 437.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.283, allocations: 4 kB / 437.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001109/0.2841, allocations: 0.6193 MB / 437.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.2841, allocations: 12 kB / 437.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2841, allocations: 8 kB / 437.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.2843, allocations: 28.84 kB / 437.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.2847, allocations: 143.8 kB / 438.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.286, allocations: 1.383 MB / 439.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.2865, allocations: 52.02 kB / 439.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.2865, allocations: 32 kB / 439.5 MB, free: 3.129 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.0003404/0.2869, allocations: 239.3 kB / 439.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.287, allocations: 75.53 kB / 439.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006873/0.2877, allocations: 325.3 kB / 440.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.2877, allocations: 4 kB / 440.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2877, allocations: 7.922 kB / 440.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2877, allocations: 0 / 440.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.2893, allocations: 1.094 MB / 441.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2893, allocations: 0 / 441.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.2896, allocations: 63.89 kB / 441.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-05/0.2897, allocations: 20.86 kB / 441.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2897, allocations: 12.22 kB / 441.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.291, allocations: 1.372 MB / 442.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.291, allocations: 3.938 kB / 442.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.2919, allocations: 0.5523 MB / 443.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.2922, allocations: 180.6 kB / 443.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.2923, allocations: 8 kB / 443.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.2926, allocations: 19.98 kB / 443.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.2927, allocations: 27.91 kB / 443.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.2927, allocations: 8 kB / 443.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006965/0.2934, allocations: 0.5029 MB / 444 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2934, allocations: 0 / 444 MB, free: 14.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006524/0.294, allocations: 160 kB / 444.2 MB, free: 14.18 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.0002017/0.2942, allocations: 123.1 kB / 444.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008952/0.2951, allocations: 457.1 kB / 444.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2951, allocations: 0 / 444.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.2955, allocations: 235.1 kB / 445 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/0.2964, allocations: 195.7 kB / 445.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.2986, allocations: 1.449 MB / 446.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.2992, allocations: 0.9449 MB / 447.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.2995, allocations: 82.02 kB / 447.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.2996, allocations: 51.44 kB / 447.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2996, allocations: 0 / 447.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01675/0.3164, allocations: 8.358 MB / 456.1 MB, free: 2.285 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches