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.001311/0.001311, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.00152/0.00152, allocations: 160.3 kB / 25.61 MB, free: 8.539 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 0.9183/0.9183, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.282e-06/1.282e-06, allocations: 0 / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.815e-05, allocations: 3.562 kB / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01735/0.01736, allocations: 11.39 MB / 285.6 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005932/0.0233, allocations: 3.904 MB / 289.5 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006826/0.02398, allocations: 83.5 kB / 289.6 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.02513, allocations: 0.8544 MB / 290.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.02647, allocations: 1.083 MB / 291.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.02708, allocations: 0.5303 MB / 292 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.02909, allocations: 3.579 MB / 295.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.03031, allocations: 1.495 MB / 297.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.03233, allocations: 2.565 MB / 299.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.03376, allocations: 1.738 MB / 301.4 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.03424, allocations: 396 kB / 301.8 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.03488, allocations: 0.6127 MB / 302.4 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006502/0.03553, allocations: 1.161 MB / 303.6 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009353/0.03647, allocations: 1.255 MB / 304.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.039, allocations: 2.998 MB / 307.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.039, allocations: 0 / 307.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.039, allocations: 0 / 307.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.379e-05/0.03905, allocations: 0 / 307.8 MB, free: 2.586 MB / 282.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.003521/0.04257, allocations: 3.75 MB / 311.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.04259, allocations: 8.031 kB / 311.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009878/0.04358, allocations: 0.6899 MB / 312.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.04541, allocations: 1.724 MB / 314 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-05/0.0455, allocations: 205.7 kB / 314.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.04574, allocations: 276.1 kB / 314.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.04768, allocations: 2.025 MB / 316.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/0.04772, allocations: 4 kB / 316.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.04786, allocations: 116 kB / 316.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.428e-05/0.04795, allocations: 125.2 kB / 316.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.04899, allocations: 0.7864 MB / 317.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007549/0.05654, allocations: 8.948 MB / 326.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.05761, allocations: 0.8028 MB / 327.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.05816, allocations: 0.4913 MB / 327.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.05828, allocations: 53.28 kB / 327.8 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.05831, allocations: 50.7 kB / 327.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=131): time 2.225e-06/0.05831, allocations: 0 / 327.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=148): time 0.004117/0.06243, allocations: 2.971 MB / 330.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.06246, allocations: 68.66 kB / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.06356, allocations: 1.539 MB / 332.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.06362, allocations: 49.7 kB / 332.5 MB, free: 9.254 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009078/0.06453, allocations: 1.459 MB / 334 MB, free: 7.777 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.0648, allocations: 0.5423 MB / 334.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.06512, allocations: 345 kB / 334.8 MB, free: 6.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.06521, allocations: 480.7 kB / 335.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.06549, allocations: 207.8 kB / 335.5 MB, free: 6.207 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/0.06608, allocations: 0.9009 MB / 336.4 MB, free: 5.023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.0671, allocations: 1.273 MB / 337.7 MB, free: 3.469 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.06711, allocations: 8 kB / 337.7 MB, free: 3.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001691/0.0688, allocations: 1.471 MB / 339.2 MB, free: 1.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.06882, allocations: 14.02 kB / 339.2 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.06884, allocations: 16.38 kB / 339.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/0.06949, allocations: 302.8 kB / 339.5 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.07024, allocations: 379.4 kB / 339.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.07332, allocations: 4.947 MB / 344.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.07388, allocations: 63.94 kB / 344.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/0.07396, allocations: 59.98 kB / 344.9 MB, free: 11.97 MB / 330.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.000407/0.07437, allocations: 268 kB / 345.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.07463, allocations: 262.6 kB / 345.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.07603, allocations: 1.149 MB / 346.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.07604, allocations: 20 kB / 346.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.07605, allocations: 8 kB / 346.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.07606, allocations: 15.91 kB / 346.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.08001, allocations: 3.454 MB / 350.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.08001, allocations: 4 kB / 350.1 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.08057, allocations: 239.7 kB / 350.3 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006855/0.08125, allocations: 342.1 kB / 350.7 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.08131, allocations: 35.98 kB / 350.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.109/0.1903, allocations: 6.652 MB / 357.4 MB, free: 74.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.988e-06/0.1904, allocations: 9.844 kB / 357.4 MB, free: 74.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.1931, allocations: 1.686 MB / 359 MB, free: 73.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006955/0.1938, allocations: 334.9 kB / 359.4 MB, free: 73.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.1941, allocations: 33.5 kB / 359.4 MB, free: 73.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/0.1947, allocations: 60 kB / 359.5 MB, free: 73.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.1949, allocations: 116.3 kB / 359.6 MB, free: 73.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.024e-05/0.195, allocations: 37.17 kB / 359.6 MB, free: 73.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001155/0.1961, allocations: 0.8402 MB / 360.5 MB, free: 73.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1961, allocations: 0 / 360.5 MB, free: 73.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001991/0.1981, allocations: 0.5772 MB / 361 MB, free: 73.83 MB / 330.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.0004311/0.1985, allocations: 224 kB / 361.3 MB, free: 73.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.2006, allocations: 1.406 MB / 362.7 MB, free: 73.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2006, allocations: 0.7656 kB / 362.7 MB, free: 73.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.2018, allocations: 1.125 MB / 363.8 MB, free: 72.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.2032, allocations: 449 kB / 364.2 MB, free: 72.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/0.2094, allocations: 4.737 MB / 369 MB, free: 70.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.2099, allocations: 0.7122 MB / 369.7 MB, free: 70.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006947/0.2106, allocations: 249.2 kB / 369.9 MB, free: 70.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/0.2115, allocations: 0.498 MB / 370.4 MB, free: 70.45 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2115, allocations: 0 / 370.4 MB, free: 70.45 MB / 330.7 MB Notification: Performance of Templates: time 0.04215/0.2536, allocations: 31.14 MB / 401.6 MB, free: 43.64 MB / 330.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 -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.8043549307622015]