Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008981/0.008981, allocations: 105.4 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002059/0.002059, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 259 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 379.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2349, allocations: 53.36 MB / 433.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009068/0.2439, allocations: 7.23 MB / 440.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.2481, allocations: 2.395 MB / 442.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005779/0.2486, allocations: 23.94 kB / 442.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.2499, allocations: 0.5123 MB / 443.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008929/0.2508, allocations: 413 kB / 443.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.2512, allocations: 207.7 kB / 443.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.2525, allocations: 1.199 MB / 445.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.2531, allocations: 344.5 kB / 445.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.2537, allocations: 486.1 kB / 446 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.2543, allocations: 0.4899 MB / 446.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.2545, allocations: 112 kB / 446.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.2548, allocations: 156 kB / 446.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.2549, allocations: 223.2 kB / 446.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.2555, allocations: 0.5482 MB / 447.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.2571, allocations: 1.444 MB / 448.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2571, allocations: 0 / 448.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2571, allocations: 0 / 448.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.2571, allocations: 4 kB / 448.9 MB, free: 7.121 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002068/0.2592, allocations: 1.198 MB / 450.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.2592, allocations: 12.03 kB / 450.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/0.2597, allocations: 148.2 kB / 450.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.2608, allocations: 0.5804 MB / 450.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.2609, allocations: 62.36 kB / 450.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.261, allocations: 84.33 kB / 451 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.2624, allocations: 0.7793 MB / 451.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.2624, allocations: 8 kB / 451.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-05/0.2625, allocations: 32 kB / 451.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.2625, allocations: 16 kB / 451.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.2636, allocations: 0.5153 MB / 452.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004407/0.268, allocations: 3.278 MB / 455.6 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.2685, allocations: 206.6 kB / 455.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.2687, allocations: 112.8 kB / 455.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.2688, allocations: 4 kB / 455.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.2688, allocations: 30.56 kB / 456 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/0.2688, allocations: 7.938 kB / 456 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002069/0.2709, allocations: 0.9217 MB / 456.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.2709, allocations: 81.34 kB / 457 MB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.2719, allocations: 0.7311 MB / 457.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.272, allocations: 29.7 kB / 457.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.2724, allocations: 0.5034 MB / 458.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/0.2725, allocations: 115.1 kB / 458.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.2726, allocations: 118.2 kB / 458.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.2728, allocations: 370.8 kB / 458.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.2731, allocations: 137.2 kB / 459 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.2736, allocations: 414.2 kB / 459.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008254/0.2744, allocations: 0.5753 MB / 459.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2744, allocations: 7.938 kB / 460 MB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001138/0.2756, allocations: 0.6192 MB / 460.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2756, allocations: 8 kB / 460.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.2756, allocations: 12 kB / 460.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.2758, allocations: 28.84 kB / 460.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.2762, allocations: 139.8 kB / 460.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.2773, allocations: 1.291 MB / 462 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.2778, allocations: 40 kB / 462.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.2778, allocations: 28 kB / 462.1 MB, free: 9.121 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003383/0.2781, allocations: 237.5 kB / 462.3 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.2783, allocations: 75.53 kB / 462.4 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/0.279, allocations: 325.4 kB / 462.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.279, allocations: 4 kB / 462.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.279, allocations: 3.984 kB / 462.7 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.279, allocations: 0 / 462.7 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.2807, allocations: 1.058 MB / 463.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2807, allocations: 4 kB / 463.8 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.2809, allocations: 59.91 kB / 463.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.099e-05/0.281, allocations: 29.06 kB / 463.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.281, allocations: 8 kB / 463.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.2821, allocations: 1.275 MB / 465.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2821, allocations: 3.938 kB / 465.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/0.283, allocations: 0.5592 MB / 465.7 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.2832, allocations: 95.53 kB / 465.8 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/0.2833, allocations: 12 kB / 465.8 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.2836, allocations: 15.98 kB / 465.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.2837, allocations: 31.89 kB / 465.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2837, allocations: 4 kB / 465.9 MB, free: 5.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000718/0.2844, allocations: 0.5069 MB / 466.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2844, allocations: 0 / 466.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006529/0.2851, allocations: 164 kB / 466.6 MB, free: 4.414 MB / 366.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 (27): * Single equations (assignments): 26 * 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.0001924/0.2853, allocations: 115.1 kB / 466.7 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009083/0.2862, allocations: 452.7 kB / 467.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2862, allocations: 4.688 kB / 467.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.2866, allocations: 238.5 kB / 467.4 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.2875, allocations: 194.7 kB / 467.5 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.2899, allocations: 1.476 MB / 469 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.2905, allocations: 0.9411 MB / 470 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2906, allocations: 51.44 kB / 470 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2906, allocations: 0 / 470 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of Templates: time 0.0193/0.3099, allocations: 13.57 MB / 483.6 MB, free: 3.32 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.705354436999187]