Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 92.62 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 153.3 kB / 24.25 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.641e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01298/0.013, allocations: 9.036 MB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.01963, allocations: 3.057 MB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.02092, allocations: 79.5 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.02291, allocations: 0.6907 MB / 280.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.02577, allocations: 0.9236 MB / 281.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000976/0.02674, allocations: 407.3 kB / 281.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00383/0.03057, allocations: 3.065 MB / 284.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.03258, allocations: 1.348 MB / 285.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.03529, allocations: 2.004 MB / 287.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.03763, allocations: 1.492 MB / 289.4 MB, free: 476 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005292/0.03816, allocations: 356 kB / 289.8 MB, free: 120 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1053/0.1434, allocations: 445.2 kB / 290.2 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.1446, allocations: 1.06 MB / 291.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.1464, allocations: 1.101 MB / 292.4 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005168/0.1516, allocations: 4.741 MB / 297.1 MB, free: 18.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1516, allocations: 0 / 297.1 MB, free: 18.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1516, allocations: 0 / 297.1 MB, free: 18.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.581e-05/0.1517, allocations: 1.562 kB / 297.1 MB, free: 18.7 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.007008/0.1587, allocations: 3.236 MB / 300.3 MB, free: 17.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1587, allocations: 9.922 kB / 300.4 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.1599, allocations: 0.5293 MB / 300.9 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.1628, allocations: 1.748 MB / 302.6 MB, free: 16.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.163, allocations: 179.5 kB / 302.8 MB, free: 16.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.1633, allocations: 229.8 kB / 303 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/0.168, allocations: 3.243 MB / 306.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.552e-05/0.1681, allocations: 11.17 kB / 306.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.1683, allocations: 96.09 kB / 306.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.565e-05/0.1684, allocations: 107.4 kB / 306.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/0.1722, allocations: 2.693 MB / 309.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.1838, allocations: 8.54 MB / 317.7 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.1858, allocations: 1.396 MB / 319.1 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.1874, allocations: 1.041 MB / 320.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.1876, allocations: 64.95 kB / 320.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1877, allocations: 51.56 kB / 320.3 MB, free: 3.797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.095e-06/0.1877, allocations: 0 / 320.3 MB, free: 3.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.01334/0.201, allocations: 6.367 MB / 326.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.2011, allocations: 64.72 kB / 326.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.2037, allocations: 1.607 MB / 328.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.2038, allocations: 49.7 kB / 328.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.2049, allocations: 1.187 MB / 329.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005728/0.2055, allocations: 469.4 kB / 330 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005593/0.206, allocations: 283.5 kB / 330.3 MB, free: 9.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2062, allocations: 301.1 kB / 330.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.2077, allocations: 0.7959 MB / 331.4 MB, free: 8.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.2099, allocations: 1.204 MB / 332.6 MB, free: 7.293 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003513/0.2134, allocations: 2.093 MB / 334.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.2134, allocations: 7.375 kB / 334.7 MB, free: 5.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005349/0.2188, allocations: 2.66 MB / 337.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.2188, allocations: 15.94 kB / 337.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.2189, allocations: 12 kB / 337.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.2201, allocations: 455.1 kB / 337.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.2217, allocations: 364.8 kB / 338.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008726/0.2304, allocations: 6.666 MB / 344.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.2321, allocations: 111.8 kB / 344.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.2322, allocations: 63.98 kB / 345 MB, free: 10.58 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.001717/0.234, allocations: 0.7902 MB / 345.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004567/0.2344, allocations: 234.7 kB / 346 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/0.2393, allocations: 2.277 MB / 348.3 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.2393, allocations: 12 kB / 348.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.2393, allocations: 8 kB / 348.3 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.2393, allocations: 7.969 kB / 348.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009352/0.2487, allocations: 4.438 MB / 352.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.2487, allocations: 4 kB / 352.8 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.2498, allocations: 245 kB / 353 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.2512, allocations: 469.3 kB / 353.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.2513, allocations: 35.98 kB / 353.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.2619, allocations: 8.114 MB / 361.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.2619, allocations: 6.812 kB / 361.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00649/0.2684, allocations: 3.466 MB / 365.1 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.2695, allocations: 350.7 kB / 365.4 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.2698, allocations: 35.98 kB / 365.5 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009615/0.2707, allocations: 87.91 kB / 365.5 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003329/0.2711, allocations: 124.6 kB / 365.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.2712, allocations: 39.98 kB / 365.7 MB, free: 5.449 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001951/0.2731, allocations: 1.081 MB / 366.8 MB, free: 4.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2731, allocations: 0 / 366.8 MB, free: 4.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00192/0.2751, allocations: 0.5038 MB / 367.3 MB, free: 3.867 MB / 314.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.0004324/0.2755, allocations: 211 kB / 367.5 MB, free: 3.672 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004746/0.2802, allocations: 2.316 MB / 369.8 MB, free: 1.363 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.2802, allocations: 4.875 kB / 369.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002934/0.2832, allocations: 1.544 MB / 371.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.2853, allocations: 444.5 kB / 371.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009571/0.2948, allocations: 4.986 MB / 376.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/0.2969, allocations: 1.438 MB / 378.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001537/0.2984, allocations: 422.2 kB / 378.6 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.2988, allocations: 128.5 kB / 378.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2989, allocations: 0 / 378.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of Templates: time 0.05204/0.3509, allocations: 26.82 MB / 405.6 MB, free: 13.87 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.153851317008957]