Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.0009353/0.0009353, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001188/0.001188, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] 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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.159e-05, allocations: 6.312 kB / 273.5 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009415/0.009436, allocations: 11.46 MB / 285 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007016/0.01645, allocations: 4.044 MB / 289 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.01791, allocations: 79.5 kB / 289.1 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.01957, allocations: 0.879 MB / 290 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1358/0.1554, allocations: 1.063 MB / 291 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.1572, allocations: 0.5341 MB / 291.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00417/0.1613, allocations: 3.594 MB / 295.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.1632, allocations: 1.522 MB / 296.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.167, allocations: 2.55 MB / 299.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.1693, allocations: 1.722 MB / 301 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006521/0.1699, allocations: 396.6 kB / 301.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.171, allocations: 0.6287 MB / 302 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006884/0.1717, allocations: 1.152 MB / 303.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.1732, allocations: 1.251 MB / 304.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.176, allocations: 2.998 MB / 307.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.176, allocations: 2.906 kB / 307.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.176, allocations: 0 / 307.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.603e-05/0.1761, allocations: 0 / 307.4 MB, free: 11.41 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.003359/0.1794, allocations: 3.453 MB / 310.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1795, allocations: 10.12 kB / 310.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.1805, allocations: 0.5779 MB / 311.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.182, allocations: 1.316 MB / 312.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.1821, allocations: 208.9 kB / 312.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.1823, allocations: 262.9 kB / 313.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.1841, allocations: 2.068 MB / 315.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.764e-05/0.1842, allocations: 3.953 kB / 315.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.1843, allocations: 108 kB / 315.4 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-05/0.1844, allocations: 121.8 kB / 315.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1854, allocations: 0.7904 MB / 316.3 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007863/0.1933, allocations: 7.192 MB / 323.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1943, allocations: 0.8008 MB / 324.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.1949, allocations: 468.9 kB / 324.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.1951, allocations: 63.41 kB / 324.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1951, allocations: 43.88 kB / 324.8 MB, free: 12.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 3.186e-06/0.1951, allocations: 4 kB / 324.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005197/0.2003, allocations: 2.92 MB / 327.8 MB, free: 9.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.2003, allocations: 64.72 kB / 327.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009696/0.2013, allocations: 1.301 MB / 329.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/0.2014, allocations: 49.7 kB / 329.2 MB, free: 7.984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.2018, allocations: 1.115 MB / 330.3 MB, free: 6.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.2021, allocations: 0.5201 MB / 330.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.2024, allocations: 310.2 kB / 331.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.2025, allocations: 313 kB / 331.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.2028, allocations: 202.8 kB / 331.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.2033, allocations: 0.6725 MB / 332.3 MB, free: 4.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009237/0.2042, allocations: 1.077 MB / 333.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.2042, allocations: 4 kB / 333.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001519/0.2057, allocations: 1.187 MB / 334.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2057, allocations: 12 kB / 334.6 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.2057, allocations: 16 kB / 334.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.2064, allocations: 300 kB / 334.9 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.2073, allocations: 415 kB / 335.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.21, allocations: 3.75 MB / 339 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.2108, allocations: 67.92 kB / 339.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.2109, allocations: 56 kB / 339.2 MB, free: 13.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005477/0.2114, allocations: 224.4 kB / 339.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.2116, allocations: 183.8 kB / 339.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.2129, allocations: 0.9779 MB / 340.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.2129, allocations: 16 kB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2129, allocations: 8 kB / 340.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.213, allocations: 7.969 kB / 340.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.2165, allocations: 2.86 MB / 343.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2165, allocations: 4 kB / 343.4 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/0.2172, allocations: 326.1 kB / 343.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007061/0.2179, allocations: 343.9 kB / 344.1 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.218, allocations: 39.97 kB / 344.1 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.2211, allocations: 4.938 MB / 349.1 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2211, allocations: 8 kB / 349.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.2229, allocations: 1.431 MB / 350.5 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.2233, allocations: 262.1 kB / 350.8 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.2235, allocations: 35.94 kB / 350.8 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.2239, allocations: 55.95 kB / 350.8 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.2241, allocations: 124.4 kB / 351 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.2242, allocations: 28 kB / 351 MB, free: 2.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005916/0.2248, allocations: 0.6634 MB / 351.7 MB, free: 1.562 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2248, allocations: 0 / 351.7 MB, free: 1.562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001386/0.2262, allocations: 0.578 MB / 352.2 MB, free: 0.9844 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * 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): 3 systems {(3,16,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/0.2265, allocations: 207.3 kB / 352.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2279, allocations: 1.212 MB / 353.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.99e-05/0.228, allocations: 21.81 kB / 353.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009088/0.2289, allocations: 0.9079 MB / 354.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2299, allocations: 435 kB / 355 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005813/0.2358, allocations: 4.582 MB / 359.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.2363, allocations: 0.6229 MB / 360.2 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006763/0.237, allocations: 243.8 kB / 360.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007975/0.2378, allocations: 459.1 kB / 360.9 MB, free: 8.34 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2378, allocations: 4 kB / 360.9 MB, free: 8.336 MB / 314.7 MB Notification: Performance of Templates: time 0.03907/0.2768, allocations: 30.45 MB / 391.3 MB, free: 10.41 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6619730996899307]