Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001895/0.001895, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002006/0.002006, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.416e-05, allocations: 6.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.02105/0.02108, allocations: 10.07 MB / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009635/0.03072, allocations: 3.248 MB / 285.7 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.03237, allocations: 75.5 kB / 285.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.03495, allocations: 0.7023 MB / 286.4 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.03871, allocations: 0.9275 MB / 287.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.0401, allocations: 419.3 kB / 287.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.141/0.1811, allocations: 3.081 MB / 290.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002626/0.1837, allocations: 1.336 MB / 292.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.1873, allocations: 2.036 MB / 294.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.1905, allocations: 1.618 MB / 295.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.1916, allocations: 353.2 kB / 296.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.1932, allocations: 460.9 kB / 296.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.1946, allocations: 1.074 MB / 297.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.1964, allocations: 1.118 MB / 298.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.2007, allocations: 4.798 MB / 303.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2007, allocations: 0 / 303.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2007, allocations: 1.312 kB / 303.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.457e-05/0.2008, allocations: 1.625 kB / 303.6 MB, free: 13.31 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006159/0.2069, allocations: 3.687 MB / 307.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.207, allocations: 10.94 kB / 307.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.2082, allocations: 0.558 MB / 307.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.2112, allocations: 1.661 MB / 309.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.2113, allocations: 177.5 kB / 309.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/0.2116, allocations: 233.8 kB / 309.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.2157, allocations: 2.985 MB / 312.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.789e-05/0.2158, allocations: 11.05 kB / 312.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.216, allocations: 94.16 kB / 313 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.145e-05/0.2161, allocations: 104.6 kB / 313.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/0.2195, allocations: 2.03 MB / 315.2 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/0.2378, allocations: 11.02 MB / 326.2 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.2404, allocations: 1.042 MB / 327.2 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.2422, allocations: 0.7488 MB / 328 MB, free: 8.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.2425, allocations: 63.72 kB / 328 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.2425, allocations: 50.39 kB / 328.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 4.228e-06/0.2425, allocations: 0 / 328.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.01212/0.2546, allocations: 4.179 MB / 332.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.2547, allocations: 68.38 kB / 332.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.258, allocations: 1.92 MB / 334.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.2582, allocations: 45.7 kB / 334.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.2595, allocations: 1.362 MB / 335.7 MB, free: 380 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006775/0.2602, allocations: 0.5022 MB / 336.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006457/0.2608, allocations: 345.1 kB / 336.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.2611, allocations: 480.8 kB / 337 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.2622, allocations: 451.7 kB / 337.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.2638, allocations: 1.064 MB / 338.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.2667, allocations: 1.657 MB / 340.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.2667, allocations: 4 kB / 340.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004377/0.2711, allocations: 1.867 MB / 342 MB, free: 9.688 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.2711, allocations: 12 kB / 342 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.2712, allocations: 12 kB / 342 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.2722, allocations: 281.3 kB / 342.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.2737, allocations: 359.9 kB / 342.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0077/0.2814, allocations: 6.919 MB / 349.6 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.2829, allocations: 107.8 kB / 349.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.2831, allocations: 60 kB / 349.7 MB, free: 1.633 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001344/0.2844, allocations: 0.6563 MB / 350.4 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/0.285, allocations: 226.8 kB / 350.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.2887, allocations: 1.507 MB / 352.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.2887, allocations: 12 kB / 352.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.2887, allocations: 7.562 kB / 352.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.2887, allocations: 8.016 kB / 352.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009502/0.2982, allocations: 4.233 MB / 356.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.2982, allocations: 0 / 356.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.2993, allocations: 238.9 kB / 356.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.3005, allocations: 315 kB / 356.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.3006, allocations: 35.98 kB / 357 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009133/0.3098, allocations: 8.692 MB / 365.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.3098, allocations: 7.469 kB / 365.7 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00494/0.3147, allocations: 2.256 MB / 367.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.3158, allocations: 334.7 kB / 368.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.3161, allocations: 36 kB / 368.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/0.317, allocations: 79.91 kB / 368.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/0.3173, allocations: 127.9 kB / 368.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.3175, allocations: 36 kB / 368.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001926/0.3194, allocations: 1.121 MB / 369.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3194, allocations: 0 / 369.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002107/0.3215, allocations: 0.5038 MB / 370.1 MB, free: 12.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,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.0004431/0.3219, allocations: 206 kB / 370.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003926/0.3259, allocations: 1.949 MB / 372.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3259, allocations: 0 / 372.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.3285, allocations: 1.48 MB / 373.8 MB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.3308, allocations: 440.2 kB / 374.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/0.3398, allocations: 4.5 MB / 378.7 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/0.3416, allocations: 1.337 MB / 380 MB, free: 2.594 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001291/0.3429, allocations: 350.3 kB / 380.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.3433, allocations: 120.5 kB / 380.5 MB, free: 2.129 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.3433, allocations: 0 / 380.5 MB, free: 2.129 MB / 330.7 MB Notification: Performance of Templates: time 0.05305/0.3964, allocations: 26.97 MB / 407.5 MB, free: 7.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.590494535048492]