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.002312/0.002312, allocations: 95.55 kB / 21.73 MB, free: 2.688 MB / 18.57 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.002706/0.002706, allocations: 166.5 kB / 25.03 MB, free: 8.414 MB / 18.57 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.311/1.311, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.907e-05, allocations: 6.312 kB / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01124/0.01127, allocations: 7.854 MB / 258.2 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004983/0.01625, allocations: 2.552 MB / 260.8 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.01693, allocations: 27.88 kB / 260.8 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.01834, allocations: 496.8 kB / 261.3 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.01947, allocations: 452.4 kB / 261.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.01994, allocations: 211.6 kB / 261.9 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.02152, allocations: 1.291 MB / 263.2 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.02212, allocations: 342.5 kB / 263.6 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.02313, allocations: 0.7327 MB / 264.3 MB, free: 5.891 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.02381, allocations: 410.8 kB / 264.7 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.02398, allocations: 116 kB / 264.8 MB, free: 5.375 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.02432, allocations: 152 kB / 265 MB, free: 5.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.02455, allocations: 247 kB / 265.2 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004952/0.02505, allocations: 399 kB / 265.6 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.02691, allocations: 1.464 MB / 267.1 MB, free: 3.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.02691, allocations: 0 / 267.1 MB, free: 3.125 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02691, allocations: 0 / 267.1 MB, free: 3.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.02694, allocations: 4 kB / 267.1 MB, free: 3.121 MB / 250.7 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.002655/0.02959, allocations: 1.438 MB / 268.5 MB, free: 1.645 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.02963, allocations: 15.98 kB / 268.5 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006285/0.03026, allocations: 220.2 kB / 268.7 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.03147, allocations: 0.602 MB / 269.3 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.03153, allocations: 58.38 kB / 269.4 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.03168, allocations: 96.31 kB / 269.5 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.03337, allocations: 0.9261 MB / 270.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.0334, allocations: 0 / 270.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.03347, allocations: 39.94 kB / 270.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.0335, allocations: 24 kB / 270.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.03459, allocations: 0.5114 MB / 271 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005857/0.04045, allocations: 3.933 MB / 274.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.04102, allocations: 231.1 kB / 275.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.04126, allocations: 108 kB / 275.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.0413, allocations: 7.938 kB / 275.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.04134, allocations: 45.33 kB / 275.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.04134, allocations: 0 / 275.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002181/0.04352, allocations: 0.9129 MB / 276.2 MB, free: 9.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.0436, allocations: 81.11 kB / 276.3 MB, free: 9.461 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.04489, allocations: 0.8859 MB / 277.2 MB, free: 8.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.04493, allocations: 33.7 kB / 277.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/0.04547, allocations: 0.6229 MB / 277.8 MB, free: 7.895 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.0456, allocations: 123 kB / 278 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.04582, allocations: 151.9 kB / 278.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003903/0.04621, allocations: 0.6015 MB / 278.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.04649, allocations: 125.2 kB / 278.8 MB, free: 6.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007332/0.04722, allocations: 0.6082 MB / 279.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.04829, allocations: 0.7584 MB / 280.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.0483, allocations: 4 kB / 280.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001241/0.04954, allocations: 0.6569 MB / 280.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.04957, allocations: 12 kB / 280.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.04958, allocations: 11.98 kB / 280.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.04977, allocations: 35.69 kB / 280.9 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.05026, allocations: 147.7 kB / 281.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.05179, allocations: 1.787 MB / 282.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.05226, allocations: 39.94 kB / 282.9 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.05231, allocations: 32 kB / 282.9 MB, free: 2.242 MB / 266.7 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.0003882/0.0527, allocations: 284.5 kB / 283.2 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.05284, allocations: 87.47 kB / 283.3 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006778/0.05352, allocations: 311.8 kB / 283.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.05352, allocations: 4 kB / 283.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.05352, allocations: 3.938 kB / 283.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.05353, allocations: 0 / 283.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.05549, allocations: 1.182 MB / 284.8 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.05549, allocations: 4 kB / 284.8 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.05578, allocations: 59.91 kB / 284.8 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.855e-05/0.05588, allocations: 31.61 kB / 284.9 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.0559, allocations: 8 kB / 284.9 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.05736, allocations: 1.771 MB / 286.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.05737, allocations: 7.938 kB / 286.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.05837, allocations: 0.6228 MB / 287.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.0586, allocations: 95.48 kB / 287.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/0.05868, allocations: 8 kB / 287.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.05899, allocations: 20.05 kB / 287.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.05908, allocations: 39.89 kB / 287.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.05911, allocations: 8 kB / 287.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007791/0.05988, allocations: 0.5419 MB / 288 MB, free: 12.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05988, allocations: 0 / 288 MB, free: 12.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007118/0.0606, allocations: 167.9 kB / 288.2 MB, free: 12.73 MB / 282.7 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.000225/0.06082, allocations: 115.2 kB / 288.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.06183, allocations: 0.5509 MB / 288.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.06184, allocations: 4 kB / 288.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.06227, allocations: 301.5 kB / 289.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009217/0.06319, allocations: 178.3 kB / 289.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.0657, allocations: 1.44 MB / 290.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.06614, allocations: 361.1 kB / 291.1 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.06642, allocations: 81.56 kB / 291.2 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.06654, allocations: 48.5 kB / 291.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.06654, allocations: 0 / 291.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of Templates: time 0.0181/0.08464, allocations: 8.281 MB / 299.5 MB, free: 1.277 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] 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: 4.870770955923945]