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.001848/0.001848, allocations: 81.98 kB / 21.99 MB, free: 5.18 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.002205/0.002205, allocations: 161.4 kB / 25.25 MB, free: 3.023 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.353/1.353, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.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.002003/0.002003, allocations: 55.92 kB / 299.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2499, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009872/0.2598, allocations: 7.006 MB / 355.5 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004837/0.2646, allocations: 2.439 MB / 358 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009721/0.2656, allocations: 27.88 kB / 358 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.2672, allocations: 479.8 kB / 358.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.2685, allocations: 436.7 kB / 358.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.2692, allocations: 219.7 kB / 359.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.2709, allocations: 1.237 MB / 360.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006975/0.2716, allocations: 342.5 kB / 360.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.2724, allocations: 498.1 kB / 361.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009107/0.2733, allocations: 453.6 kB / 361.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.2735, allocations: 116 kB / 361.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.274, allocations: 152 kB / 361.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.2742, allocations: 243 kB / 362.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000646/0.2749, allocations: 469.9 kB / 362.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.2767, allocations: 1.478 MB / 364 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2767, allocations: 3.938 kB / 364.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2767, allocations: 0 / 364.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.47e-05/0.2768, allocations: 4 kB / 364.1 MB, free: 15.89 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.002893/0.2797, allocations: 1.248 MB / 365.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2797, allocations: 15.98 kB / 365.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006197/0.2803, allocations: 160.1 kB / 365.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.2817, allocations: 0.5765 MB / 366.1 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.2817, allocations: 62.38 kB / 366.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.2819, allocations: 95.83 kB / 366.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.2836, allocations: 0.8647 MB / 367.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.2837, allocations: 7.938 kB / 367.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.2837, allocations: 36 kB / 367.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.2838, allocations: 20 kB / 367.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.285, allocations: 0.5387 MB / 367.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004455/0.2895, allocations: 2.936 MB / 370.6 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.2901, allocations: 238.6 kB / 370.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.2903, allocations: 112.8 kB / 371 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.2904, allocations: 4 kB / 371 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2904, allocations: 30.56 kB / 371 MB, free: 8.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.2904, allocations: 0 / 371 MB, free: 8.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002255/0.2926, allocations: 0.9262 MB / 371.9 MB, free: 7.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.2927, allocations: 81.11 kB / 372 MB, free: 7.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.2937, allocations: 0.6953 MB / 372.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.2938, allocations: 29.7 kB / 372.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.2942, allocations: 0.5381 MB / 373.3 MB, free: 6.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.2943, allocations: 115 kB / 373.4 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.2945, allocations: 130.2 kB / 373.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.2947, allocations: 370.8 kB / 373.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.295, allocations: 133.2 kB / 374 MB, free: 5.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.2956, allocations: 476.2 kB / 374.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.2966, allocations: 0.614 MB / 375.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.2966, allocations: 4 kB / 375.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001247/0.2978, allocations: 0.6381 MB / 375.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2979, allocations: 8.969 kB / 375.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.2979, allocations: 15.98 kB / 375.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.298, allocations: 40.78 kB / 375.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.2985, allocations: 151.7 kB / 375.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.2997, allocations: 1.268 MB / 377.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.3002, allocations: 44.09 kB / 377.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.3003, allocations: 32 kB / 377.3 MB, free: 1.867 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.0003547/0.3006, allocations: 241.5 kB / 377.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3008, allocations: 67.58 kB / 377.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/0.3015, allocations: 333.2 kB / 377.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3015, allocations: 4 kB / 377.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3015, allocations: 4 kB / 377.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3015, allocations: 0 / 377.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.3032, allocations: 0.9258 MB / 378.8 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.3032, allocations: 4 kB / 378.8 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.3035, allocations: 64.12 kB / 378.9 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.744e-05/0.3036, allocations: 24.78 kB / 378.9 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.3037, allocations: 8 kB / 378.9 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3048, allocations: 1.248 MB / 380.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3048, allocations: 0 / 380.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009983/0.3058, allocations: 0.5807 MB / 380.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.306, allocations: 87.58 kB / 380.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/0.3061, allocations: 8 kB / 380.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.3064, allocations: 19.98 kB / 380.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.3065, allocations: 27.89 kB / 380.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3065, allocations: 12 kB / 380.9 MB, free: 14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006357/0.3071, allocations: 467 kB / 381.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3071, allocations: 0 / 381.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006831/0.3078, allocations: 168 kB / 381.5 MB, free: 13.38 MB / 350.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.000183/0.308, allocations: 111.2 kB / 381.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000987/0.309, allocations: 476.4 kB / 382.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.309, allocations: 0 / 382.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.3094, allocations: 238.4 kB / 382.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009437/0.3104, allocations: 187.7 kB / 382.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.3129, allocations: 1.466 MB / 384 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3134, allocations: 357.1 kB / 384.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.3137, allocations: 85.56 kB / 384.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3138, allocations: 48.48 kB / 384.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3138, allocations: 3.938 kB / 384.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Templates: time 0.0167/0.3305, allocations: 8.296 MB / 392.8 MB, free: 2.02 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 -s ida -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: 4.682189724990167]