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.001779/0.001779, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001967/0.001967, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.634/1.634, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.001792/0.001792, allocations: 63.09 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2912, allocations: 49.14 MB / 396.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00894/0.3001, allocations: 7.01 MB / 403.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.3052, allocations: 2.44 MB / 406.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.306, allocations: 24 kB / 406.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.3074, allocations: 489.9 kB / 406.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.3085, allocations: 434.2 kB / 407.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.309, allocations: 215.6 kB / 407.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.3103, allocations: 1.232 MB / 408.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005941/0.3109, allocations: 344.7 kB / 409 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007251/0.3116, allocations: 0.4908 MB / 409.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.3122, allocations: 457.8 kB / 409.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.3123, allocations: 115.9 kB / 410.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.3127, allocations: 146.3 kB / 410.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.3129, allocations: 236.1 kB / 410.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.3135, allocations: 471.5 kB / 410.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.3157, allocations: 1.484 MB / 412.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3157, allocations: 0 / 412.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3157, allocations: 0 / 412.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.3157, allocations: 0.8438 kB / 412.4 MB, free: 15.62 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.003231/0.3189, allocations: 1.259 MB / 413.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.319, allocations: 13.45 kB / 413.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007556/0.3198, allocations: 159.3 kB / 413.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.3214, allocations: 0.5733 MB / 414.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/0.3215, allocations: 64.12 kB / 414.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.3217, allocations: 98.95 kB / 414.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.3238, allocations: 0.8711 MB / 415.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.3239, allocations: 1.125 kB / 415.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.324, allocations: 35.97 kB / 415.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.324, allocations: 21.69 kB / 415.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.3256, allocations: 0.5415 MB / 416 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005969/0.3316, allocations: 2.936 MB / 418.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/0.3324, allocations: 228.4 kB / 419.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.3328, allocations: 115.8 kB / 419.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.3328, allocations: 7.703 kB / 419.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3329, allocations: 37.03 kB / 419.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.645e-06/0.3329, allocations: 4 kB / 419.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.003012/0.3359, allocations: 0.9174 MB / 420.2 MB, free: 9.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.336, allocations: 85.64 kB / 420.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.3374, allocations: 0.697 MB / 421 MB, free: 9.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.3374, allocations: 31.08 kB / 421.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000637/0.3381, allocations: 0.5397 MB / 421.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3382, allocations: 116.9 kB / 421.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.3384, allocations: 124.7 kB / 421.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.3386, allocations: 373.6 kB / 422.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.3391, allocations: 126.5 kB / 422.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.3398, allocations: 471.5 kB / 422.8 MB, free: 7.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.3412, allocations: 0.6149 MB / 423.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.3412, allocations: 3.781 kB / 423.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00178/0.343, allocations: 0.6442 MB / 424 MB, free: 6.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.343, allocations: 9 kB / 424.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.3431, allocations: 11.16 kB / 424.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.3433, allocations: 40.28 kB / 424.1 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/0.344, allocations: 153 kB / 424.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.3455, allocations: 1.266 MB / 425.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/0.3463, allocations: 41.03 kB / 425.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.3464, allocations: 31.66 kB / 425.6 MB, free: 5.41 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.0005276/0.3469, allocations: 242.3 kB / 425.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.3471, allocations: 71.61 kB / 425.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000979/0.3481, allocations: 336.1 kB / 426.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3481, allocations: 4 kB / 426.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3481, allocations: 0 / 426.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3481, allocations: 0 / 426.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.3505, allocations: 0.922 MB / 427.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3505, allocations: 3.938 kB / 427.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.3509, allocations: 67.84 kB / 427.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.3511, allocations: 24.84 kB / 427.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.3511, allocations: 8 kB / 427.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.3524, allocations: 1.241 MB / 428.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.3524, allocations: 7.938 kB / 428.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.3538, allocations: 0.5726 MB / 429.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.3542, allocations: 87.58 kB / 429.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3543, allocations: 12.12 kB / 429.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.3549, allocations: 19.98 kB / 429.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.355, allocations: 27.89 kB / 429.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.355, allocations: 12.09 kB / 429.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009618/0.356, allocations: 463 kB / 429.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.356, allocations: 0 / 429.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3572, allocations: 171.9 kB / 429.8 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.0002616/0.3575, allocations: 123.2 kB / 430 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.3589, allocations: 475.7 kB / 430.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3589, allocations: 0 / 430.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.3595, allocations: 240 kB / 430.7 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.3608, allocations: 178.8 kB / 430.8 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.3641, allocations: 1.466 MB / 432.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.3645, allocations: 365.1 kB / 432.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.3648, allocations: 85.55 kB / 432.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3649, allocations: 51.42 kB / 432.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3649, allocations: 0 / 432.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Templates: time 0.01989/0.3848, allocations: 9.497 MB / 442.3 MB, free: 4.531 MB / 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/jenkins/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/jenkins/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: 5.33745851367712]