Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 106.6 kB / 17.06 MB, free: 6.102 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.00128/0.00128, allocations: 194.9 kB / 18 MB, free: 5.172 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 47.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.269, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.00774/0.2768, allocations: 7.142 MB / 407.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.2805, allocations: 2.344 MB / 410.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.2813, allocations: 23.94 kB / 410.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.2826, allocations: 0.4892 MB / 410.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008604/0.2835, allocations: 377 kB / 411.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.2839, allocations: 211.7 kB / 411.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.285, allocations: 1.199 MB / 412.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006407/0.2856, allocations: 0.4998 MB / 413 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005295/0.2862, allocations: 466.1 kB / 413.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.2867, allocations: 497.8 kB / 413.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.2868, allocations: 119.9 kB / 414.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.2872, allocations: 152 kB / 414.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.2874, allocations: 227.1 kB / 414.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004713/0.2878, allocations: 0.5521 MB / 415 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.2892, allocations: 1.432 MB / 416.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2893, allocations: 3.984 kB / 416.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2893, allocations: 0 / 416.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.2893, allocations: 0 / 416.4 MB, free: 9.098 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.001913/0.2912, allocations: 1.285 MB / 417.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.2913, allocations: 11.89 kB / 417.7 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.2917, allocations: 144.2 kB / 417.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.2928, allocations: 0.6577 MB / 418.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.2928, allocations: 58.38 kB / 418.6 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2929, allocations: 84.33 kB / 418.6 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.2942, allocations: 0.7793 MB / 419.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.2942, allocations: 0 / 419.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.2943, allocations: 36 kB / 419.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.2943, allocations: 20 kB / 419.5 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009728/0.2953, allocations: 0.5153 MB / 420 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.2991, allocations: 3.381 MB / 423.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.2996, allocations: 226.5 kB / 423.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.2999, allocations: 116.7 kB / 423.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2999, allocations: 4 kB / 423.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3, allocations: 38.56 kB / 423.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.3, allocations: 0 / 423.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001998/0.302, allocations: 1.065 MB / 424.8 MB, free: 272 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.302, allocations: 89.34 kB / 424.9 MB, free: 164 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/0.303, allocations: 0.731 MB / 425.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.303, allocations: 29.7 kB / 425.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.3033, allocations: 0.5073 MB / 426.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/0.3034, allocations: 103.1 kB / 426.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3036, allocations: 114.2 kB / 426.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3037, allocations: 382.8 kB / 426.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.304, allocations: 121.2 kB / 426.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.3044, allocations: 422.2 kB / 427.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.3052, allocations: 0.5753 MB / 427.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3052, allocations: 4 kB / 427.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001041/0.3062, allocations: 0.6154 MB / 428.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3063, allocations: 8 kB / 428.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3063, allocations: 11.94 kB / 428.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.3064, allocations: 40.78 kB / 428.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.3069, allocations: 131.8 kB / 428.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.3079, allocations: 1.394 MB / 430.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.3084, allocations: 32.14 kB / 430.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.3084, allocations: 28 kB / 430.1 MB, free: 10.48 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.0002929/0.3087, allocations: 237.6 kB / 430.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.3088, allocations: 79.48 kB / 430.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006011/0.3094, allocations: 325.6 kB / 430.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3094, allocations: 4 kB / 430.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3095, allocations: 0 / 430.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3095, allocations: 3.984 kB / 430.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.311, allocations: 1.104 MB / 431.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3111, allocations: 0 / 431.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.3113, allocations: 55.97 kB / 431.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.009e-05/0.3114, allocations: 24.78 kB / 431.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.3115, allocations: 12.22 kB / 432 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.3125, allocations: 1.379 MB / 433.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3125, allocations: 4 kB / 433.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/0.3134, allocations: 0.5497 MB / 433.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.3136, allocations: 176.6 kB / 434.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.3137, allocations: 12 kB / 434.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.314, allocations: 23.98 kB / 434.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.3141, allocations: 23.91 kB / 434.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3141, allocations: 12 kB / 434.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006645/0.3148, allocations: 0.4991 MB / 434.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3148, allocations: 0 / 434.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006369/0.3154, allocations: 164 kB / 434.8 MB, free: 5.512 MB / 350.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.0002066/0.3156, allocations: 131 kB / 434.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008209/0.3165, allocations: 462.7 kB / 435.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3165, allocations: 0 / 435.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.3168, allocations: 243.2 kB / 435.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008277/0.3177, allocations: 178.8 kB / 435.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3199, allocations: 1.449 MB / 437.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.3203, allocations: 0.9372 MB / 438.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.3206, allocations: 90.02 kB / 438.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.3207, allocations: 47.44 kB / 438.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3207, allocations: 0 / 438.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Templates: time 0.01395/0.3346, allocations: 8.275 MB / 446.6 MB, free: 9.715 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches