Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 107.5 kB / 18.39 MB, free: 4.703 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.001089/0.001089, allocations: 191 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 47.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06984/0.07091, allocations: 46.63 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1602/0.2312, allocations: 7.912 MB / 383.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.2355, allocations: 2.619 MB / 386.4 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009347/0.2365, allocations: 19.25 kB / 386.4 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.238, allocations: 0.5005 MB / 386.9 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.2392, allocations: 404.6 kB / 387.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.2398, allocations: 216.8 kB / 387.5 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.241, allocations: 1.231 MB / 388.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006332/0.2416, allocations: 0.5289 MB / 389.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.2421, allocations: 486.2 kB / 389.7 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.2427, allocations: 0.5227 MB / 390.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.2429, allocations: 114 kB / 390.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.2432, allocations: 152.7 kB / 390.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.2433, allocations: 235.3 kB / 390.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.2437, allocations: 0.5611 MB / 391.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2451, allocations: 1.458 MB / 392.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2451, allocations: 0 / 392.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2451, allocations: 1.062 kB / 392.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.2451, allocations: 4 kB / 392.8 MB, free: 4.801 MB / 318.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.001875/0.247, allocations: 1.312 MB / 394.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.247, allocations: 12.98 kB / 394.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.2475, allocations: 146.3 kB / 394.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008797/0.2484, allocations: 0.6496 MB / 394.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.2485, allocations: 60.19 kB / 394.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.2486, allocations: 87.97 kB / 395 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.2498, allocations: 0.8241 MB / 395.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.2499, allocations: 2.078 kB / 395.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.25, allocations: 35.38 kB / 395.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.25, allocations: 21.41 kB / 395.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009844/0.251, allocations: 0.5408 MB / 396.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.2546, allocations: 3.555 MB / 400 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.2551, allocations: 239.2 kB / 400.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.2554, allocations: 118.4 kB / 400.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.2554, allocations: 7.203 kB / 400.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.2554, allocations: 37.5 kB / 400.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 3.296e-06/0.2554, allocations: 1.125 kB / 400.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001927/0.2574, allocations: 1.074 MB / 401.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2574, allocations: 83.7 kB / 401.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.2583, allocations: 0.7686 MB / 402.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.2584, allocations: 31.86 kB / 402.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.2587, allocations: 0.5102 MB / 402.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/0.2588, allocations: 113 kB / 403 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.2589, allocations: 124.8 kB / 403.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2591, allocations: 385.3 kB / 403.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.2594, allocations: 129.2 kB / 403.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.2598, allocations: 440.6 kB / 404 MB, free: 13.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007543/0.2606, allocations: 0.6167 MB / 404.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2606, allocations: 6.625 kB / 404.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00108/0.2617, allocations: 0.6477 MB / 405.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2617, allocations: 11 kB / 405.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.2617, allocations: 17.56 kB / 405.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.2619, allocations: 35.23 kB / 405.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.2624, allocations: 154.1 kB / 405.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009448/0.2633, allocations: 1.388 MB / 406.9 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.2638, allocations: 37.64 kB / 406.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.2639, allocations: 36.56 kB / 407 MB, free: 10.98 MB / 334.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.0002733/0.2641, allocations: 238.3 kB / 407.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2643, allocations: 79.28 kB / 407.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.2649, allocations: 330.8 kB / 407.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.2649, allocations: 3.281 kB / 407.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2649, allocations: 3.938 kB / 407.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.265, allocations: 5.031 kB / 407.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.2666, allocations: 1.11 MB / 408.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2666, allocations: 2.781 kB / 408.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.2669, allocations: 70.08 kB / 408.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.832e-05/0.267, allocations: 24.47 kB / 408.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.267, allocations: 8.562 kB / 408.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008526/0.2679, allocations: 1.38 MB / 410.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2679, allocations: 6.25 kB / 410.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.2688, allocations: 0.5678 MB / 410.8 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.269, allocations: 181.7 kB / 411 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.2691, allocations: 7.969 kB / 411 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.2694, allocations: 23.17 kB / 411 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.2695, allocations: 23.09 kB / 411 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.2695, allocations: 14.8 kB / 411 MB, free: 7.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006642/0.2702, allocations: 0.5188 MB / 411.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2702, allocations: 1.156 kB / 411.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007868/0.271, allocations: 171.1 kB / 411.7 MB, free: 7.266 MB / 334.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.0001707/0.2712, allocations: 120 kB / 411.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008226/0.272, allocations: 481.5 kB / 412.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.272, allocations: 0 / 412.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.2724, allocations: 245.9 kB / 412.5 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.2733, allocations: 200.4 kB / 412.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.2755, allocations: 1.495 MB / 414.2 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.276, allocations: 0.9512 MB / 415.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.2762, allocations: 55.45 kB / 415.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2762, allocations: 0 / 415.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Templates: time 0.01601/0.2922, allocations: 14.02 MB / 429.3 MB, free: 8.914 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches