Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.001373/0.001373, allocations: 88.31 kB / 21.44 MB, free: 272 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.001515/0.001515, allocations: 164.3 kB / 24.7 MB, free: 3.523 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.31/1.31, allocations: 158.6 MB / 186.5 MB, free: 6.387 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.267e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01391/0.01393, allocations: 10.5 MB / 309.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006697/0.02063, allocations: 3.141 MB / 312.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.02227, allocations: 39.88 kB / 312.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.0246, allocations: 0.6516 MB / 313.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.02756, allocations: 0.8141 MB / 314.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.02922, allocations: 411.4 kB / 314.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004066/0.03329, allocations: 2.513 MB / 317 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.03458, allocations: 0.607 MB / 317.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.03709, allocations: 1.399 MB / 319 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.03857, allocations: 0.7126 MB / 319.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.03889, allocations: 228 kB / 320 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000532/0.03942, allocations: 271.9 kB / 320.2 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.03981, allocations: 470.2 kB / 320.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008841/0.04069, allocations: 0.7366 MB / 321.4 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1577/0.1983, allocations: 2.834 MB / 324.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1984, allocations: 0.5938 kB / 324.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1984, allocations: 0 / 324.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.81e-05/0.1985, allocations: 0.5312 kB / 324.3 MB, free: 20.91 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.00377/0.2022, allocations: 2.113 MB / 326.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2023, allocations: 10.66 kB / 326.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009334/0.2032, allocations: 293.9 kB / 326.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.205, allocations: 1.048 MB / 327.7 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.2051, allocations: 114.5 kB / 327.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.2053, allocations: 161.1 kB / 328 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.2079, allocations: 1.604 MB / 329.6 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.382e-05/0.2079, allocations: 13.67 kB / 329.6 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.208, allocations: 68.05 kB / 329.7 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.2081, allocations: 38.81 kB / 329.7 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.2101, allocations: 1.044 MB / 330.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006964/0.2171, allocations: 5.413 MB / 336.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.2185, allocations: 0.5696 MB / 336.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008756/0.2194, allocations: 424.3 kB / 337.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.2194, allocations: 7.812 kB / 337.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2195, allocations: 42.33 kB / 337.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.594e-06/0.2195, allocations: 1.156 kB / 337.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.004769/0.2242, allocations: 2.157 MB / 339.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.2243, allocations: 111.5 kB / 339.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.2257, allocations: 1.171 MB / 340.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.2257, allocations: 41.83 kB / 340.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.2261, allocations: 0.8768 MB / 341.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.2263, allocations: 274.2 kB / 341.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.2265, allocations: 204 kB / 342 MB, free: 12.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.2266, allocations: 349.9 kB / 342.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005666/0.2271, allocations: 289.6 kB / 342.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/0.2279, allocations: 0.7848 MB / 343.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.2292, allocations: 1.091 MB / 344.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.2293, allocations: 3.938 kB / 344.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002219/0.2315, allocations: 1.252 MB / 345.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2315, allocations: 10.06 kB / 345.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.2315, allocations: 17 kB / 345.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004963/0.232, allocations: 144.2 kB / 346 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008843/0.2329, allocations: 254.3 kB / 346.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.2357, allocations: 4.241 MB / 350.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.2369, allocations: 59.5 kB / 350.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.2369, allocations: 52.72 kB / 350.6 MB, free: 6.281 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006138/0.2375, allocations: 353.2 kB / 350.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.2377, allocations: 132 kB / 351 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.2394, allocations: 0.821 MB / 351.8 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2394, allocations: 8.188 kB / 351.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2394, allocations: 128 / 351.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.2394, allocations: 4.641 kB / 351.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/0.2427, allocations: 1.963 MB / 353.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.2427, allocations: 9.938 kB / 353.8 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.2432, allocations: 126.9 kB / 354 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/0.2437, allocations: 132 kB / 354.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.2437, allocations: 20.53 kB / 354.1 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/0.2468, allocations: 4.398 MB / 358.5 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.2468, allocations: 11.12 kB / 358.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.2494, allocations: 1.279 MB / 359.8 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005384/0.2499, allocations: 194.7 kB / 360 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.2501, allocations: 23.94 kB / 360 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.2507, allocations: 35.97 kB / 360 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.2509, allocations: 67.23 kB / 360.1 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.2509, allocations: 24 kB / 360.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001193/0.2521, allocations: 0.7763 MB / 360.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2521, allocations: 0 / 360.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00152/0.2537, allocations: 327.3 kB / 361.2 MB, free: 13.01 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadTorque1.phi,dcpm2.inertiaRotor.w,dcpm2.la.i,loadTorque2.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 (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000311/0.254, allocations: 132.1 kB / 361.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002228/0.2562, allocations: 1.087 MB / 362.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2562, allocations: 0 / 362.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.2574, allocations: 0.695 MB / 363.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.2591, allocations: 347.3 kB / 363.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005828/0.2649, allocations: 2.77 MB / 366.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.2656, allocations: 0.6298 MB / 366.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006181/0.2662, allocations: 162.8 kB / 367 MB, free: 7.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.2665, allocations: 84.48 kB / 367.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2665, allocations: 0 / 367.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of Templates: time 0.03401/0.3005, allocations: 17.21 MB / 384.3 MB, free: 5.84 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_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_withLosses/DCPM_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.069463212043047]