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.001359/0.001359, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001565/0.001565, allocations: 165.3 kB / 24.27 MB, free: 144 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.528/1.528, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.543e-06/1.543e-06, allocations: 0 / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.393e-05, allocations: 2.312 kB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.0128/0.01282, allocations: 9.067 MB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.01953, allocations: 3.147 MB / 284.5 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.0208, allocations: 75.5 kB / 284.6 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.02264, allocations: 0.7023 MB / 285.3 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.02541, allocations: 0.9119 MB / 286.2 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.02654, allocations: 431.3 kB / 286.7 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00419/0.03073, allocations: 3.084 MB / 289.7 MB, free: 316 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.12/0.1507, allocations: 1.324 MB / 291.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.1538, allocations: 2.011 MB / 293.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.1564, allocations: 1.497 MB / 294.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007962/0.1572, allocations: 354.8 kB / 294.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.1584, allocations: 466.3 kB / 295.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.1594, allocations: 1.063 MB / 296.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.1611, allocations: 1.105 MB / 297.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004816/0.1659, allocations: 4.769 MB / 302.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1659, allocations: 0 / 302.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1659, allocations: 0 / 302.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.1661, allocations: 1.375 kB / 302.3 MB, free: 14.1 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.006811/0.1729, allocations: 3.253 MB / 305.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1729, allocations: 8.781 kB / 305.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.1743, allocations: 0.561 MB / 306.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.1771, allocations: 1.778 MB / 307.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.1772, allocations: 178.3 kB / 308.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/0.1775, allocations: 231.7 kB / 308.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00463/0.1821, allocations: 3.242 MB / 311.6 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.747e-05/0.1822, allocations: 7.891 kB / 311.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.1824, allocations: 97.22 kB / 311.7 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.765e-05/0.1825, allocations: 106.6 kB / 311.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003793/0.1862, allocations: 2.693 MB / 314.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.2019, allocations: 8.541 MB / 323 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.2049, allocations: 1.393 MB / 324.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.2071, allocations: 1.058 MB / 325.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.2074, allocations: 60.95 kB / 325.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.2074, allocations: 46.5 kB / 325.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.206e-06/0.2074, allocations: 0 / 325.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.01737/0.2248, allocations: 6.376 MB / 331.9 MB, free: 4.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.2249, allocations: 64.72 kB / 332 MB, free: 4.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.2281, allocations: 1.627 MB / 333.6 MB, free: 2.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002875/0.2284, allocations: 45.7 kB / 333.7 MB, free: 2.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.2296, allocations: 1.198 MB / 334.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006303/0.2303, allocations: 469.6 kB / 335.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005669/0.2308, allocations: 284.2 kB / 335.6 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000281/0.2311, allocations: 301.1 kB / 335.9 MB, free: 400 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.2327, allocations: 0.7964 MB / 336.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.2347, allocations: 1.202 MB / 337.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/0.2388, allocations: 2.095 MB / 340 MB, free: 12.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.2388, allocations: 4 kB / 340 MB, free: 12.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005794/0.2446, allocations: 2.662 MB / 342.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.2446, allocations: 11.94 kB / 342.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.2447, allocations: 12 kB / 342.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.246, allocations: 454.1 kB / 343.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.2475, allocations: 369.9 kB / 343.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009115/0.2566, allocations: 6.656 MB / 350.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.2584, allocations: 107.8 kB / 350.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.2587, allocations: 60 kB / 350.3 MB, free: 1.527 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.001752/0.2604, allocations: 0.7987 MB / 351.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000666/0.2611, allocations: 234.7 kB / 351.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004999/0.2661, allocations: 2.289 MB / 353.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.2661, allocations: 12 kB / 353.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.2661, allocations: 4 kB / 353.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.2661, allocations: 7.969 kB / 353.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.2767, allocations: 4.447 MB / 358.1 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.2768, allocations: 4.406 kB / 358.1 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.2779, allocations: 234.7 kB / 358.3 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.2795, allocations: 486 kB / 358.8 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.2796, allocations: 35.98 kB / 358.8 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.2903, allocations: 8.111 MB / 366.9 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.2903, allocations: 4 kB / 366.9 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007228/0.2976, allocations: 3.465 MB / 370.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.2988, allocations: 354.8 kB / 370.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.2991, allocations: 31.98 kB / 370.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009642/0.3001, allocations: 83.91 kB / 370.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/0.3004, allocations: 124.2 kB / 371 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.3006, allocations: 43.36 kB / 371 MB, free: 12.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002104/0.3027, allocations: 1.098 MB / 372.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3027, allocations: 0 / 372.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00219/0.3048, allocations: 0.5077 MB / 372.6 MB, free: 10.76 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.0004483/0.3053, allocations: 197.8 kB / 372.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00464/0.3099, allocations: 2.315 MB / 375.1 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.3099, allocations: 0 / 375.1 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003366/0.3133, allocations: 1.555 MB / 376.7 MB, free: 6.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.3157, allocations: 444.8 kB / 377.1 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009714/0.3254, allocations: 4.997 MB / 382.1 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/0.3276, allocations: 1.439 MB / 383.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001534/0.3291, allocations: 430.3 kB / 384 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.3296, allocations: 124.5 kB / 384.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.3296, allocations: 0 / 384.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of Templates: time 0.06295/0.3925, allocations: 26.95 MB / 411.1 MB, free: 4.645 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] 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.426491428981535]