Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.001716/0.001716, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002147/0.002147, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.801 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_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 55.91 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2572, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01404/0.2713, allocations: 10.12 MB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008486/0.2797, allocations: 3.714 MB / 445.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.2822, allocations: 75.5 kB / 445.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.2849, allocations: 0.8194 MB / 446.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.2886, allocations: 1.002 MB / 447.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.2902, allocations: 0.5071 MB / 447.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00456/0.2947, allocations: 3.234 MB / 451.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/0.2973, allocations: 1.418 MB / 452.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.2997, allocations: 1.48 MB / 454 MB, free: 208 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.3024, allocations: 1.735 MB / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005652/0.3029, allocations: 388 kB / 456.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.3041, allocations: 0.6127 MB / 456.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.3052, allocations: 1.083 MB / 457.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.3067, allocations: 1.396 MB / 459.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006093/0.3128, allocations: 5.099 MB / 464.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3128, allocations: 0 / 464.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3128, allocations: 0 / 464.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001205/0.3129, allocations: 0 / 464.3 MB, free: 5.863 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.00824/0.3211, allocations: 3.499 MB / 467.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3212, allocations: 12.03 kB / 467.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.323, allocations: 462.7 kB / 468.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003855/0.3269, allocations: 1.787 MB / 470 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.3271, allocations: 197.2 kB / 470.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004028/0.3275, allocations: 252 kB / 470.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006356/0.3339, allocations: 3.373 MB / 473.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.375e-05/0.3339, allocations: 4 kB / 473.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.3342, allocations: 104 kB / 473.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.3343, allocations: 116.9 kB / 474.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005172/0.3395, allocations: 2.701 MB / 476.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.357, allocations: 8.911 MB / 485.7 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.3593, allocations: 1.241 MB / 486.9 MB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.3613, allocations: 0.9757 MB / 487.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.3615, allocations: 56.89 kB / 487.9 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.3616, allocations: 55.5 kB / 488 MB, free: 13.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 4.058e-06/0.3616, allocations: 0 / 488 MB, free: 13.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01832/0.3799, allocations: 7.056 MB / 495 MB, free: 6.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.38, allocations: 68.72 kB / 495.1 MB, free: 6.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.3827, allocations: 1.708 MB / 496.8 MB, free: 4.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.3828, allocations: 53.64 kB / 496.9 MB, free: 4.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3839, allocations: 1.29 MB / 498.2 MB, free: 3.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000441/0.3843, allocations: 491.8 kB / 498.6 MB, free: 2.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004899/0.3848, allocations: 303.4 kB / 498.9 MB, free: 2.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.385, allocations: 305.1 kB / 499.2 MB, free: 2.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.3864, allocations: 0.812 MB / 0.4883 GB, free: 1.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.3883, allocations: 1.316 MB / 0.4896 GB, free: 15.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/0.3917, allocations: 2.25 MB / 0.4918 GB, free: 13.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.3918, allocations: 4 kB / 0.4918 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004952/0.3967, allocations: 2.713 MB / 0.4945 GB, free: 10.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.3967, allocations: 12 kB / 0.4945 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.3968, allocations: 16 kB / 0.4945 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3978, allocations: 422.4 kB / 0.4949 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.3993, allocations: 395.3 kB / 0.4953 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006615/0.4059, allocations: 5.497 MB / 0.5006 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.4073, allocations: 123.8 kB / 0.5008 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.4075, allocations: 79.92 kB / 0.5008 GB, free: 3.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001374/0.4089, allocations: 0.794 MB / 0.5016 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.4092, allocations: 194.8 kB / 0.5018 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.4135, allocations: 2.287 MB / 0.504 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/0.4135, allocations: 16 kB / 0.504 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4135, allocations: 8 kB / 0.5041 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.4135, allocations: 7.969 kB / 0.5041 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008686/0.4222, allocations: 4.527 MB / 0.5085 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.4222, allocations: 8 kB / 0.5085 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.4233, allocations: 252.2 kB / 0.5087 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.4245, allocations: 458 kB / 0.5092 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.4246, allocations: 51.91 kB / 0.5092 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007859/0.4324, allocations: 6.898 MB / 0.516 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.4324, allocations: 11.92 kB / 0.516 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006072/0.4385, allocations: 3.479 MB / 0.5194 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.4398, allocations: 366.7 kB / 0.5197 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.44, allocations: 35.92 kB / 0.5197 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.4412, allocations: 95.94 kB / 0.5198 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.4415, allocations: 116.6 kB / 0.5199 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-05/0.4416, allocations: 43.98 kB / 0.52 GB, free: 15.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.4434, allocations: 1.161 MB / 0.5211 GB, free: 14.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4434, allocations: 4 kB / 0.5211 GB, free: 14.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001949/0.4454, allocations: 0.539 MB / 0.5217 GB, free: 14.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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,12,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.0004751/0.4459, allocations: 214.8 kB / 0.5219 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004369/0.4502, allocations: 2.274 MB / 0.5241 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4502, allocations: 0.875 kB / 0.5241 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002558/0.4528, allocations: 1.451 MB / 0.5255 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.4548, allocations: 367.9 kB / 0.5258 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008607/0.4635, allocations: 5.196 MB / 0.5309 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.4652, allocations: 1.454 MB / 0.5323 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001263/0.4665, allocations: 406.3 kB / 0.5327 GB, free: 2.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.4669, allocations: 119.4 kB / 0.5328 GB, free: 2.461 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4669, allocations: 0 / 0.5328 GB, free: 2.461 MB / 446.1 MB Notification: Performance of Templates: time 0.2455/0.7124, allocations: 29.56 MB / 0.5617 GB, free: 83.56 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.1942513436079025]