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.001396/0.001396, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001494/0.001494, allocations: 194.8 kB / 23.71 MB, free: 4.406 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.463/1.463, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.001751/0.001751, allocations: 55.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3392, allocations: 52.18 MB / 423.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.0153/0.3546, allocations: 10.4 MB / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008859/0.3634, allocations: 3.706 MB / 437.2 MB, free: 364 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.3664, allocations: 79.5 kB / 437.3 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.3698, allocations: 0.8346 MB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.3752, allocations: 1.033 MB / 439.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.3779, allocations: 0.5343 MB / 439.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006175/0.3841, allocations: 3.436 MB / 443.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.3867, allocations: 1.475 MB / 444.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.3895, allocations: 1.589 MB / 446.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.3929, allocations: 1.868 MB / 448 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008225/0.3937, allocations: 408 kB / 448.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.3953, allocations: 0.6284 MB / 449.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.3965, allocations: 1.157 MB / 450.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.3988, allocations: 1.497 MB / 451.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007139/0.4059, allocations: 5.407 MB / 457.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4059, allocations: 3.938 kB / 457.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4059, allocations: 0 / 457.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001919/0.4061, allocations: 0 / 457.1 MB, free: 12.29 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.009686/0.4158, allocations: 3.722 MB / 460.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4158, allocations: 15.97 kB / 460.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.4175, allocations: 450.6 kB / 461.3 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004738/0.4222, allocations: 1.906 MB / 463.2 MB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.4224, allocations: 201.4 kB / 463.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004917/0.4229, allocations: 271.9 kB / 463.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007507/0.4304, allocations: 3.65 MB / 467.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.888e-05/0.4305, allocations: 0 / 467.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.4307, allocations: 108 kB / 467.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/0.4309, allocations: 121.2 kB / 467.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005692/0.4366, allocations: 2.972 MB / 470.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.4568, allocations: 9.561 MB / 480.1 MB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.4596, allocations: 1.514 MB / 481.6 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.4616, allocations: 1.09 MB / 482.7 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.4619, allocations: 61.25 kB / 482.7 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.4619, allocations: 43.88 kB / 482.8 MB, free: 2.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 4.479e-06/0.4619, allocations: 0 / 482.8 MB, free: 2.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01717/0.4791, allocations: 7.07 MB / 489.8 MB, free: 10.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.4792, allocations: 72.66 kB / 489.9 MB, free: 10.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.4823, allocations: 1.814 MB / 491.7 MB, free: 9.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.4824, allocations: 49.7 kB / 491.8 MB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.4836, allocations: 1.361 MB / 493.1 MB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006291/0.4842, allocations: 0.5307 MB / 493.7 MB, free: 7.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006208/0.4849, allocations: 335.4 kB / 494 MB, free: 6.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.485, allocations: 301.1 kB / 494.3 MB, free: 6.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.4867, allocations: 0.8861 MB / 495.2 MB, free: 5.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.4886, allocations: 1.368 MB / 496.5 MB, free: 4.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003694/0.4923, allocations: 2.389 MB / 498.9 MB, free: 1.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.4923, allocations: 4 kB / 498.9 MB, free: 1.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005837/0.4982, allocations: 2.884 MB / 0.4901 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.4982, allocations: 16.31 kB / 0.4901 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/0.4982, allocations: 16 kB / 0.4901 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.4995, allocations: 462.2 kB / 0.4905 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.5012, allocations: 431.3 kB / 0.4909 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/0.5087, allocations: 5.791 MB / 0.4966 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.5108, allocations: 123.8 kB / 0.4967 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.5109, allocations: 72 kB / 0.4968 GB, free: 7.434 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.001825/0.5128, allocations: 0.8676 MB / 0.4976 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/0.5133, allocations: 198.7 kB / 0.4978 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/0.5183, allocations: 2.491 MB / 0.5003 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/0.5183, allocations: 16 kB / 0.5003 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.5183, allocations: 4 kB / 0.5003 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.5183, allocations: 7.969 kB / 0.5003 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.529, allocations: 4.861 MB / 0.505 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.529, allocations: 4 kB / 0.505 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.5304, allocations: 279.6 kB / 0.5053 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.532, allocations: 0.4905 MB / 0.5058 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5321, allocations: 39.98 kB / 0.5058 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008728/0.5408, allocations: 7.248 MB / 0.5129 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.5409, allocations: 11.97 kB / 0.5129 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007367/0.5482, allocations: 3.737 MB / 0.5166 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/0.55, allocations: 390.6 kB / 0.5169 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.5503, allocations: 39.98 kB / 0.517 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.5515, allocations: 91.89 kB / 0.5171 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/0.5518, allocations: 133 kB / 0.5172 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/0.552, allocations: 51.98 kB / 0.5172 GB, free: 1.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002186/0.5542, allocations: 1.226 MB / 0.5184 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5542, allocations: 4 kB / 0.5184 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002233/0.5564, allocations: 0.5819 MB / 0.519 GB, free: 180 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.0005783/0.557, allocations: 229.8 kB / 0.5192 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005229/0.5622, allocations: 2.443 MB / 0.5216 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5623, allocations: 0 / 0.5216 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.5653, allocations: 1.541 MB / 0.5231 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.568, allocations: 436 kB / 0.5235 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.58, allocations: 5.685 MB / 0.5291 GB, free: 5.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.5822, allocations: 1.576 MB / 0.5306 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001806/0.584, allocations: 451.5 kB / 0.5311 GB, free: 3.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.5845, allocations: 127.4 kB / 0.5312 GB, free: 3.539 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5845, allocations: 0 / 0.5312 GB, free: 3.539 MB / 446.1 MB Notification: Performance of Templates: time 0.2614/0.8459, allocations: 32.97 MB / 0.5634 GB, free: 88.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/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: 6.572887295857072]