Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 111.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 213.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2745, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00885/0.2834, allocations: 7.985 MB / 417.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.2881, allocations: 2.645 MB / 420.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007301/0.2889, allocations: 20 kB / 420.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.2903, allocations: 0.497 MB / 421.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009571/0.2912, allocations: 408.7 kB / 421.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.2917, allocations: 215.6 kB / 421.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.293, allocations: 1.234 MB / 422.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.2937, allocations: 0.5345 MB / 423.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006726/0.2944, allocations: 498 kB / 423.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.2949, allocations: 0.5134 MB / 424.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.2951, allocations: 112 kB / 424.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.2954, allocations: 160 kB / 424.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.2956, allocations: 239.1 kB / 425 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004803/0.2961, allocations: 0.5715 MB / 425.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.2975, allocations: 1.456 MB / 427 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2975, allocations: 4 kB / 427 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2975, allocations: 0 / 427 MB, free: 428 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.2975, allocations: 4 kB / 427 MB, free: 424 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002082/0.2996, allocations: 1.294 MB / 428.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2997, allocations: 12.03 kB / 428.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006642/0.3003, allocations: 183.5 kB / 428.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.3013, allocations: 0.6454 MB / 429.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.3014, allocations: 66.38 kB / 429.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3015, allocations: 87.94 kB / 429.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3028, allocations: 0.8145 MB / 430.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.3028, allocations: 7.906 kB / 430.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.3029, allocations: 36 kB / 430.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3029, allocations: 24 kB / 430.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009756/0.3039, allocations: 0.5387 MB / 430.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.3079, allocations: 3.543 MB / 434.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.3084, allocations: 248.8 kB / 434.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.3086, allocations: 116.8 kB / 434.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.3087, allocations: 12 kB / 434.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3087, allocations: 34.56 kB / 434.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.3087, allocations: 4 kB / 434.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001973/0.3107, allocations: 1.081 MB / 435.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3108, allocations: 85.05 kB / 435.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/0.3117, allocations: 0.7624 MB / 436.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3117, allocations: 29.7 kB / 436.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.312, allocations: 0.5135 MB / 437.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.3121, allocations: 106.5 kB / 437.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3123, allocations: 122.2 kB / 437.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3124, allocations: 378.8 kB / 437.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.3127, allocations: 133.2 kB / 437.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.3132, allocations: 450.2 kB / 438.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/0.3139, allocations: 0.6215 MB / 438.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3139, allocations: 0 / 438.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001031/0.315, allocations: 0.6504 MB / 439.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.315, allocations: 10.97 kB / 439.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.315, allocations: 19.92 kB / 439.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.3152, allocations: 32.86 kB / 439.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.3156, allocations: 147.7 kB / 439.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000991/0.3166, allocations: 1.386 MB / 441.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.3171, allocations: 40.05 kB / 441.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.3172, allocations: 32 kB / 441.2 MB, free: 1.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003084/0.3175, allocations: 253.4 kB / 441.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.3176, allocations: 75.06 kB / 441.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006338/0.3182, allocations: 333.9 kB / 441.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3182, allocations: 4 kB / 441.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3183, allocations: 3.984 kB / 441.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3183, allocations: 3.938 kB / 441.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.3198, allocations: 1.121 MB / 443 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3198, allocations: 4 kB / 443 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.3201, allocations: 63.89 kB / 443.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.887e-05/0.3202, allocations: 21.08 kB / 443.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3202, allocations: 12 kB / 443.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008599/0.3211, allocations: 1.375 MB / 444.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3211, allocations: 0 / 444.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.3219, allocations: 0.5718 MB / 445 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.3221, allocations: 176.1 kB / 445.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.3222, allocations: 11.98 kB / 445.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.3225, allocations: 23.98 kB / 445.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.3226, allocations: 27.91 kB / 445.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3226, allocations: 12 kB / 445.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000607/0.3232, allocations: 0.5146 MB / 445.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3233, allocations: 0 / 445.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000644/0.3239, allocations: 179.9 kB / 446 MB, free: 12.16 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 (28): * Single equations (assignments): 27 * 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.0002061/0.3241, allocations: 119.1 kB / 446.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008559/0.325, allocations: 493 kB / 446.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.325, allocations: 0.625 kB / 446.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.3254, allocations: 246.5 kB / 446.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/0.3262, allocations: 187.1 kB / 447 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3285, allocations: 1.502 MB / 448.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.329, allocations: 0.9526 MB / 449.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.3291, allocations: 55.44 kB / 449.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3291, allocations: 0 / 449.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of Templates: time 0.01671/0.3458, allocations: 13.9 MB / 463.4 MB, free: 10.64 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches