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.001592/0.001592, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001709/0.001709, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.539/1.539, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 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.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.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.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.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 47.92 kB / 373.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1179, allocations: 53.34 MB / 426.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.2152/0.3331, allocations: 11.89 MB / 438.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006698/0.3398, allocations: 4 MB / 442.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.3417, allocations: 80.19 kB / 442.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.3439, allocations: 0.891 MB / 443.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.3474, allocations: 1.021 MB / 444.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.349, allocations: 0.5237 MB / 445.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005105/0.3541, allocations: 3.463 MB / 448.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/0.3569, allocations: 1.964 MB / 450.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.3597, allocations: 1.583 MB / 452.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.3634, allocations: 1.982 MB / 454.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001876/0.3652, allocations: 412.7 kB / 454.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.3682, allocations: 0.6487 MB / 455.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.3699, allocations: 1.159 MB / 456.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003649/0.3735, allocations: 1.844 MB / 458.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009286/0.3828, allocations: 5.398 MB / 463.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3828, allocations: 1.594 kB / 463.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3828, allocations: 1.125 kB / 463.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001967/0.383, allocations: 0 / 463.7 MB, free: 7.191 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.01115/0.3942, allocations: 3.827 MB / 467.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3942, allocations: 12.88 kB / 467.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.3962, allocations: 488.9 kB / 468 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003999/0.4002, allocations: 1.984 MB / 470 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.4004, allocations: 207.5 kB / 470.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/0.4009, allocations: 271.5 kB / 470.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006676/0.4076, allocations: 3.525 MB / 474 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/0.4076, allocations: 3.156 kB / 474 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002866/0.4079, allocations: 107.4 kB / 474.1 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.4081, allocations: 130 kB / 474.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006038/0.4141, allocations: 2.977 MB / 477.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.4346, allocations: 11 MB / 488.2 MB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.4379, allocations: 2.183 MB / 490.4 MB, free: 312 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/0.44, allocations: 1.098 MB / 491.5 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/0.4404, allocations: 215.5 kB / 491.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.4405, allocations: 47.88 kB / 491.7 MB, free: 14.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.877e-06/0.4405, allocations: 0 / 491.7 MB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01832/0.4588, allocations: 7.546 MB / 499.3 MB, free: 7.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.4588, allocations: 64.72 kB / 499.3 MB, free: 7.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/0.4624, allocations: 1.996 MB / 0.4896 GB, free: 5.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.4626, allocations: 49.7 kB / 0.4896 GB, free: 5.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.4638, allocations: 1.346 MB / 0.4909 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005975/0.4644, allocations: 0.5307 MB / 0.4914 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000586/0.465, allocations: 331.5 kB / 0.4918 GB, free: 2.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4651, allocations: 305.1 kB / 0.4921 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.4667, allocations: 0.8823 MB / 0.4929 GB, free: 1.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.4687, allocations: 1.379 MB / 0.4943 GB, free: 52 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/0.4725, allocations: 2.377 MB / 0.4966 GB, free: 13.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.4725, allocations: 8 kB / 0.4966 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005836/0.4783, allocations: 2.983 MB / 0.4995 GB, free: 10.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.4784, allocations: 15.94 kB / 0.4995 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.4784, allocations: 16 kB / 0.4995 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.4797, allocations: 458.5 kB / 0.5 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.4814, allocations: 431.3 kB / 0.5004 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007657/0.489, allocations: 6.095 MB / 0.5063 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.4913, allocations: 123.9 kB / 0.5065 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.4915, allocations: 79.98 kB / 0.5065 GB, free: 2.969 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.001738/0.4932, allocations: 0.8525 MB / 0.5074 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/0.4937, allocations: 230.5 kB / 0.5076 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/0.4987, allocations: 2.583 MB / 0.5101 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/0.4988, allocations: 16 kB / 0.5101 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.4988, allocations: 4 kB / 0.5101 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.4988, allocations: 11.97 kB / 0.5101 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.5093, allocations: 5.607 MB / 0.5156 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5093, allocations: 4 kB / 0.5156 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.5106, allocations: 275.6 kB / 0.5159 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.5121, allocations: 0.4967 MB / 0.5164 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.5122, allocations: 35.98 kB / 0.5164 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009449/0.5217, allocations: 7.69 MB / 0.5239 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5217, allocations: 4 kB / 0.5239 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007509/0.5292, allocations: 3.84 MB / 0.5277 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.5307, allocations: 487.5 kB / 0.5281 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006985/0.5314, allocations: 35.98 kB / 0.5282 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.533, allocations: 95.89 kB / 0.5283 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/0.5334, allocations: 125 kB / 0.5284 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.5335, allocations: 43.94 kB / 0.5284 GB, free: 11.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003051/0.5366, allocations: 1.368 MB / 0.5298 GB, free: 10.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5366, allocations: 0 / 0.5298 GB, free: 10.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003136/0.5397, allocations: 0.5898 MB / 0.5303 GB, free: 9.855 MB / 446.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.0006362/0.5404, allocations: 223.1 kB / 0.5305 GB, free: 9.633 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005339/0.5457, allocations: 2.519 MB / 0.533 GB, free: 7.066 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.5457, allocations: 0 / 0.533 GB, free: 7.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003121/0.5488, allocations: 1.55 MB / 0.5345 GB, free: 5.477 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/0.5524, allocations: 0.4946 MB / 0.535 GB, free: 4.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.5647, allocations: 5.695 MB / 0.5406 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003018/0.5677, allocations: 2.136 MB / 0.5426 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001797/0.5695, allocations: 465 kB / 0.5431 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007265/0.5702, allocations: 147.4 kB / 0.5432 GB, free: 12.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.512e-06/0.5702, allocations: 0 / 0.5432 GB, free: 12.46 MB / 462.1 MB Notification: Performance of Templates: time 0.06715/0.6374, allocations: 31.93 MB / 0.5744 GB, free: 12.79 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.461215917021036]