Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001966/0.001966, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002598/0.002598, allocations: 220.8 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.2 MB / 256.2 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 59.91 kB / 376.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2832, allocations: 53.32 MB / 429.8 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01491/0.2981, allocations: 11.94 MB / 441.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008279/0.3064, allocations: 4.009 MB / 445.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.3085, allocations: 63.75 kB / 445.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.3114, allocations: 0.9004 MB / 446.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.3156, allocations: 1.029 MB / 447.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3171, allocations: 0.5421 MB / 448.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005127/0.3222, allocations: 3.467 MB / 451.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.3247, allocations: 1.533 MB / 453.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.3274, allocations: 1.561 MB / 454.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.3306, allocations: 1.989 MB / 456.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007233/0.3313, allocations: 408 kB / 457.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.3327, allocations: 0.6441 MB / 457.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.334, allocations: 1.157 MB / 459 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.3363, allocations: 1.847 MB / 460.9 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006648/0.343, allocations: 5.41 MB / 466.3 MB, free: 2.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.343, allocations: 0 / 466.3 MB, free: 2.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.343, allocations: 0 / 466.3 MB, free: 2.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001565/0.3431, allocations: 0 / 466.3 MB, free: 2.812 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.009613/0.3527, allocations: 3.815 MB / 470.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.3528, allocations: 8.031 kB / 470.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.3547, allocations: 486.5 kB / 470.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.3586, allocations: 2 MB / 472.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.3588, allocations: 205.4 kB / 472.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/0.3592, allocations: 264 kB / 473.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00657/0.3658, allocations: 3.525 MB / 476.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.175e-05/0.3659, allocations: 7.953 kB / 476.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.3661, allocations: 111.9 kB / 476.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.3663, allocations: 121.2 kB / 476.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00542/0.3717, allocations: 2.968 MB / 479.8 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01869/0.3904, allocations: 11 MB / 490.8 MB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.3934, allocations: 2.183 MB / 493 MB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.3955, allocations: 1.105 MB / 494.1 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/0.3958, allocations: 199.5 kB / 494.3 MB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.3959, allocations: 55.81 kB / 494.3 MB, free: 6.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.066e-06/0.3959, allocations: 3.938 kB / 494.3 MB, free: 6.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01669/0.4126, allocations: 7.545 MB / 0.4901 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.4126, allocations: 64.72 kB / 0.4902 GB, free: 14.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/0.416, allocations: 1.996 MB / 0.4921 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.4162, allocations: 49.7 kB / 0.4922 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.4174, allocations: 1.347 MB / 0.4935 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000724/0.4181, allocations: 0.5346 MB / 0.494 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005985/0.4187, allocations: 319.4 kB / 0.4943 GB, free: 9.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4189, allocations: 317 kB / 0.4946 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.4205, allocations: 0.8823 MB / 0.4955 GB, free: 8.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.4225, allocations: 1.371 MB / 0.4968 GB, free: 7.184 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.4264, allocations: 2.377 MB / 0.4991 GB, free: 4.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.4264, allocations: 8 kB / 0.4991 GB, free: 4.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006404/0.4328, allocations: 2.983 MB / 0.5021 GB, free: 1.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.4328, allocations: 12.38 kB / 0.5021 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.4329, allocations: 20 kB / 0.5021 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.4342, allocations: 466.2 kB / 0.5025 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.436, allocations: 435.2 kB / 0.5029 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007321/0.4433, allocations: 6.095 MB / 0.5089 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4451, allocations: 127.8 kB / 0.509 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.4453, allocations: 71.98 kB / 0.5091 GB, free: 10.09 MB / 430.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.001527/0.4469, allocations: 0.8563 MB / 0.5099 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.4474, allocations: 218.6 kB / 0.5101 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/0.4523, allocations: 2.583 MB / 0.5127 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/0.4524, allocations: 16 kB / 0.5127 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.4524, allocations: 8 kB / 0.5127 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.4524, allocations: 7.969 kB / 0.5127 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.4625, allocations: 5.607 MB / 0.5182 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.4625, allocations: 7.938 kB / 0.5182 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.4637, allocations: 280 kB / 0.5184 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.4652, allocations: 0.4887 MB / 0.5189 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.4653, allocations: 47.86 kB / 0.519 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008678/0.474, allocations: 7.693 MB / 0.5265 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.474, allocations: 4 kB / 0.5265 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006576/0.4805, allocations: 3.833 MB / 0.5302 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.4816, allocations: 495.5 kB / 0.5307 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/0.4819, allocations: 39.98 kB / 0.5307 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.4831, allocations: 95.83 kB / 0.5308 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/0.4834, allocations: 121.1 kB / 0.5309 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.4835, allocations: 43.98 kB / 0.531 GB, free: 2.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002111/0.4856, allocations: 1.368 MB / 0.5323 GB, free: 1.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4856, allocations: 3.938 kB / 0.5323 GB, free: 1.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00194/0.4875, allocations: 0.5859 MB / 0.5329 GB, free: 0.9648 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.0004922/0.488, allocations: 229.2 kB / 0.5331 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2253/0.7134, allocations: 2.504 MB / 0.5356 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.7134, allocations: 1.688 kB / 0.5356 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.716, allocations: 1.543 MB / 0.5371 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.7184, allocations: 0.4915 MB / 0.5375 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008469/0.7269, allocations: 5.735 MB / 0.5431 GB, free: 99.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.7284, allocations: 2.135 MB / 0.5452 GB, free: 98.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001518/0.7299, allocations: 475.6 kB / 0.5457 GB, free: 97.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/0.7303, allocations: 135.4 kB / 0.5458 GB, free: 97.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7303, allocations: 0 / 0.5458 GB, free: 97.95 MB / 446.1 MB Notification: Performance of Templates: time 0.04599/0.7763, allocations: 32.44 MB / 0.5775 GB, free: 68.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.383429632522166]