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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 108.8 kB / 21.94 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 58.58 kB / 348.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2694, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008383/0.2778, allocations: 6.999 MB / 404.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00443/0.2822, allocations: 2.444 MB / 407.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.2835, allocations: 24.22 kB / 407.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.2852, allocations: 486.9 kB / 407.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.2868, allocations: 433.2 kB / 408 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.2875, allocations: 215.3 kB / 408.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.2894, allocations: 1.238 MB / 409.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007679/0.2902, allocations: 340.8 kB / 409.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.2912, allocations: 0.4914 MB / 410.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.2923, allocations: 449.2 kB / 410.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002979/0.2926, allocations: 119.5 kB / 410.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006405/0.2932, allocations: 150.9 kB / 411 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.2934, allocations: 240.2 kB / 411.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007373/0.2942, allocations: 470 kB / 411.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.2958, allocations: 1.478 MB / 413.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2958, allocations: 1.25 kB / 413.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2958, allocations: 0 / 413.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.2958, allocations: 0 / 413.1 MB, free: 15.64 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002449/0.2983, allocations: 1.256 MB / 414.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2983, allocations: 13.67 kB / 414.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005139/0.2988, allocations: 160.5 kB / 414.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.3, allocations: 0.5727 MB / 415.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/0.3001, allocations: 68.53 kB / 415.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3002, allocations: 98.19 kB / 415.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.3017, allocations: 0.8705 MB / 416.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.3018, allocations: 6.047 kB / 416.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.3018, allocations: 36.03 kB / 416.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.3019, allocations: 24 kB / 416.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.303, allocations: 0.5345 MB / 416.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/0.3074, allocations: 2.933 MB / 419.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.308, allocations: 239.8 kB / 419.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.3082, allocations: 108.1 kB / 420 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3082, allocations: 2.25 kB / 420 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3083, allocations: 33.97 kB / 420.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.3083, allocations: 0 / 420.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002181/0.3104, allocations: 0.9293 MB / 421 MB, free: 9.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.3105, allocations: 80.17 kB / 421.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/0.3114, allocations: 0.695 MB / 421.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3115, allocations: 35.02 kB / 421.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.3119, allocations: 0.5356 MB / 422.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.312, allocations: 116.6 kB / 422.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.3121, allocations: 121.5 kB / 422.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.3124, allocations: 376.5 kB / 422.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.3126, allocations: 126.9 kB / 423.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.3132, allocations: 479.9 kB / 423.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009295/0.3142, allocations: 0.6139 MB / 424.1 MB, free: 7.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3142, allocations: 7.719 kB / 424.2 MB, free: 7.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001194/0.3154, allocations: 0.6443 MB / 424.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3154, allocations: 9.875 kB / 424.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3154, allocations: 10.81 kB / 424.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.3155, allocations: 31.64 kB / 424.8 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.316, allocations: 154.6 kB / 425 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.3172, allocations: 1.269 MB / 426.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.3177, allocations: 41.34 kB / 426.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.3178, allocations: 32.5 kB / 426.3 MB, free: 5.426 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.000372/0.3181, allocations: 241.9 kB / 426.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3182, allocations: 67.14 kB / 426.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/0.319, allocations: 338.8 kB / 427 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.319, allocations: 4 kB / 427 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.319, allocations: 48 / 427 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.319, allocations: 3.984 kB / 427 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.3207, allocations: 0.9181 MB / 427.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3207, allocations: 0 / 427.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.321, allocations: 71.83 kB / 428 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.775e-05/0.3211, allocations: 20.84 kB / 428 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.3211, allocations: 8 kB / 428 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3222, allocations: 1.245 MB / 429.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.3222, allocations: 4.031 kB / 429.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3232, allocations: 0.5687 MB / 429.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.3235, allocations: 91.56 kB / 429.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/0.3235, allocations: 12 kB / 429.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.3239, allocations: 24.08 kB / 429.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.324, allocations: 31.89 kB / 430 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.324, allocations: 8 kB / 430 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006875/0.3247, allocations: 467 kB / 430.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3247, allocations: 4 kB / 430.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008147/0.3255, allocations: 168 kB / 430.6 MB, free: 1.105 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.0002259/0.3257, allocations: 111.2 kB / 430.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3267, allocations: 467.9 kB / 431.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3267, allocations: 3.938 kB / 431.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.3271, allocations: 243.8 kB / 431.4 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.328, allocations: 186.8 kB / 431.6 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.3307, allocations: 1.507 MB / 433.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.3311, allocations: 365.1 kB / 433.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3312, allocations: 51.38 kB / 433.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3312, allocations: 0 / 433.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Templates: time 0.02034/0.3515, allocations: 13.98 MB / 447.5 MB, free: 84 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.759690432809293]