Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.001382/0.001382, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001417/0.001417, allocations: 186.8 kB / 24.45 MB, free: 3.961 MB / 14.72 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.447/1.447, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 47.92 kB / 371.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2663, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01454/0.2808, allocations: 10.39 MB / 434.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008402/0.2892, allocations: 3.71 MB / 437.9 MB, free: 304 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.2914, allocations: 79.5 kB / 438 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.2941, allocations: 0.8386 MB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003791/0.2979, allocations: 1.033 MB / 439.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.2996, allocations: 0.5304 MB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005189/0.3048, allocations: 3.436 MB / 443.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.3073, allocations: 1.479 MB / 445.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.3098, allocations: 1.589 MB / 446.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.3133, allocations: 1.868 MB / 448.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009409/0.3143, allocations: 408 kB / 449.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.3159, allocations: 0.6206 MB / 449.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.3172, allocations: 1.165 MB / 451 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002406/0.3196, allocations: 1.494 MB / 452.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006868/0.3265, allocations: 5.403 MB / 457.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.3265, allocations: 7.938 kB / 457.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3265, allocations: 0 / 457.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001669/0.3266, allocations: 0 / 457.9 MB, free: 12.23 MB / 366.1 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.01016/0.3368, allocations: 3.734 MB / 461.6 MB, free: 8.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3368, allocations: 8.031 kB / 461.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.3385, allocations: 454.5 kB / 462.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/0.3432, allocations: 1.898 MB / 464 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.3434, allocations: 209.4 kB / 464.2 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005567/0.344, allocations: 268 kB / 464.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007058/0.351, allocations: 3.646 MB / 468.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.951e-05/0.3511, allocations: 0 / 468.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.3514, allocations: 112 kB / 468.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.3515, allocations: 125.2 kB / 468.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005542/0.3571, allocations: 2.964 MB / 471.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.3758, allocations: 9.557 MB / 480.8 MB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/0.3789, allocations: 1.507 MB / 482.3 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.3811, allocations: 1.102 MB / 483.4 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.3813, allocations: 49.28 kB / 483.5 MB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.3814, allocations: 47.88 kB / 483.5 MB, free: 2.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 4.218e-06/0.3814, allocations: 0 / 483.5 MB, free: 2.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01783/0.3992, allocations: 7.077 MB / 490.6 MB, free: 10.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.3993, allocations: 68.66 kB / 490.7 MB, free: 10.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/0.4028, allocations: 1.822 MB / 492.5 MB, free: 9.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.403, allocations: 49.7 kB / 492.5 MB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.4042, allocations: 1.357 MB / 493.9 MB, free: 7.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006718/0.4049, allocations: 0.5307 MB / 494.4 MB, free: 7.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007252/0.4056, allocations: 335.4 kB / 494.8 MB, free: 6.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4058, allocations: 301.1 kB / 495 MB, free: 6.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.4075, allocations: 0.8862 MB / 495.9 MB, free: 5.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.4096, allocations: 1.372 MB / 497.3 MB, free: 3.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/0.4135, allocations: 2.385 MB / 499.7 MB, free: 1.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.4135, allocations: 4 kB / 499.7 MB, free: 1.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005866/0.4194, allocations: 2.884 MB / 0.4908 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.4194, allocations: 16.31 kB / 0.4908 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.93e-05/0.4195, allocations: 23.98 kB / 0.4908 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.4208, allocations: 458.2 kB / 0.4913 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.4225, allocations: 431.3 kB / 0.4917 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007764/0.4303, allocations: 5.784 MB / 0.4973 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.4324, allocations: 119.8 kB / 0.4974 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/0.4327, allocations: 79.98 kB / 0.4975 GB, free: 7.379 MB / 414.1 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.00193/0.4347, allocations: 0.8564 MB / 0.4984 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007317/0.4354, allocations: 206.7 kB / 0.4986 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00534/0.4407, allocations: 2.487 MB / 0.501 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/0.4408, allocations: 19.98 kB / 0.501 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/0.4408, allocations: 8 kB / 0.501 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.4408, allocations: 7.984 kB / 0.501 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.4526, allocations: 4.861 MB / 0.5058 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.4526, allocations: 7.938 kB / 0.5058 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.4539, allocations: 279.6 kB / 0.506 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.4555, allocations: 0.4904 MB / 0.5065 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/0.4556, allocations: 39.97 kB / 0.5066 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008974/0.4646, allocations: 7.249 MB / 0.5136 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.4646, allocations: 7.938 kB / 0.5136 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007415/0.472, allocations: 3.745 MB / 0.5173 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/0.474, allocations: 390.5 kB / 0.5177 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008003/0.4748, allocations: 35.98 kB / 0.5177 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/0.4771, allocations: 99.89 kB / 0.5178 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005349/0.4776, allocations: 125 kB / 0.5179 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/0.4778, allocations: 47.98 kB / 0.518 GB, free: 1.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003462/0.4813, allocations: 1.226 MB / 0.5192 GB, free: 0.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4813, allocations: 0 / 0.5192 GB, free: 0.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003865/0.4852, allocations: 0.5858 MB / 0.5197 GB, free: 124 kB / 430.1 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%), (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.0008825/0.486, allocations: 234.2 kB / 0.52 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006969/0.493, allocations: 2.439 MB / 0.5223 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.493, allocations: 384 / 0.5223 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004244/0.4973, allocations: 1.544 MB / 0.5239 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/0.5011, allocations: 433 kB / 0.5243 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.5179, allocations: 5.714 MB / 0.5298 GB, free: 5.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/0.5212, allocations: 1.552 MB / 0.5314 GB, free: 4.031 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.5223, allocations: 143.4 kB / 0.5315 GB, free: 3.895 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5223, allocations: 0 / 0.5315 GB, free: 3.895 MB / 446.1 MB Notification: Performance of Templates: time 0.284/0.8064, allocations: 75.43 MB / 0.6052 GB, free: 44.28 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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: 14.223348428029567]