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.001675/0.001675, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001881/0.001881, allocations: 180.9 kB / 23.71 MB, free: 4.695 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.444/1.444, allocations: 225.6 MB / 252.5 MB, free: 13 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.001594/0.001594, allocations: 51.91 kB / 370.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3115, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.0155/0.327, allocations: 11.92 MB / 435.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00878/0.3358, allocations: 3.951 MB / 439 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.338, allocations: 79.5 kB / 439.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.3409, allocations: 0.8852 MB / 440 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004315/0.3452, allocations: 1.025 MB / 441 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.3477, allocations: 0.542 MB / 441.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007037/0.3547, allocations: 3.444 MB / 445 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/0.3587, allocations: 1.537 MB / 446.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.3621, allocations: 1.585 MB / 448.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004103/0.3662, allocations: 1.977 MB / 450.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001443/0.3676, allocations: 408 kB / 450.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.3701, allocations: 0.722 MB / 451.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.3717, allocations: 1.161 MB / 452.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002801/0.3745, allocations: 1.843 MB / 454.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007275/0.3818, allocations: 5.387 MB / 459.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3818, allocations: 0 / 459.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3818, allocations: 0 / 459.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001384/0.3819, allocations: 4 kB / 459.6 MB, free: 10.02 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.009303/0.3912, allocations: 3.726 MB / 463.3 MB, free: 6.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3913, allocations: 16.03 kB / 463.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.3928, allocations: 450.6 kB / 463.8 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/0.3967, allocations: 1.894 MB / 465.7 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.3969, allocations: 205.4 kB / 465.9 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/0.3974, allocations: 267.9 kB / 466.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006787/0.4042, allocations: 3.517 MB / 469.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.44e-05/0.4043, allocations: 11.88 kB / 469.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.4045, allocations: 116 kB / 469.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.4047, allocations: 121.3 kB / 469.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005749/0.4104, allocations: 2.968 MB / 472.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/0.4298, allocations: 10.83 MB / 483.7 MB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.4325, allocations: 1.514 MB / 485.2 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/0.4345, allocations: 1.098 MB / 486.3 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.4348, allocations: 53.27 kB / 486.3 MB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.4348, allocations: 47.88 kB / 486.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 2.976e-06/0.4348, allocations: 3.938 kB / 486.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01719/0.452, allocations: 7.097 MB / 493.5 MB, free: 7.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.4521, allocations: 64.72 kB / 493.6 MB, free: 7.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.4552, allocations: 1.979 MB / 495.5 MB, free: 5.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.4554, allocations: 45.7 kB / 495.6 MB, free: 5.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.4565, allocations: 1.346 MB / 496.9 MB, free: 4.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000553/0.457, allocations: 0.5345 MB / 497.5 MB, free: 3.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005511/0.4576, allocations: 331.4 kB / 497.8 MB, free: 3.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4577, allocations: 309.1 kB / 498.1 MB, free: 2.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.4593, allocations: 0.8784 MB / 499 MB, free: 1.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.4612, allocations: 1.38 MB / 0.4886 GB, free: 420 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/0.4649, allocations: 2.373 MB / 0.4909 GB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.4649, allocations: 4 kB / 0.4909 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005585/0.4705, allocations: 2.915 MB / 0.4938 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.4705, allocations: 12 kB / 0.4938 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.4705, allocations: 16 kB / 0.4938 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.4718, allocations: 454.6 kB / 0.4943 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.4735, allocations: 431.3 kB / 0.4947 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007435/0.481, allocations: 5.901 MB / 0.5004 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.4829, allocations: 119.8 kB / 0.5005 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.4831, allocations: 72 kB / 0.5006 GB, free: 3.676 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.001597/0.4847, allocations: 0.8563 MB / 0.5014 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000532/0.4852, allocations: 222.6 kB / 0.5017 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005078/0.4903, allocations: 2.5 MB / 0.5041 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.4903, allocations: 16 kB / 0.5041 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4903, allocations: 4 kB / 0.5041 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.4903, allocations: 7.969 kB / 0.5041 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.501, allocations: 5.522 MB / 0.5095 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.501, allocations: 0 / 0.5095 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.5023, allocations: 283.6 kB / 0.5098 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.5037, allocations: 0.4898 MB / 0.5103 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.5038, allocations: 43.98 kB / 0.5103 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008703/0.5125, allocations: 7.389 MB / 0.5175 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.5125, allocations: 4 kB / 0.5175 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006839/0.5194, allocations: 3.753 MB / 0.5212 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.5207, allocations: 414.4 kB / 0.5216 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.521, allocations: 39.92 kB / 0.5216 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.5223, allocations: 95.89 kB / 0.5217 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/0.5226, allocations: 129 kB / 0.5218 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.5227, allocations: 39.98 kB / 0.5219 GB, free: 13.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002522/0.5253, allocations: 1.36 MB / 0.5232 GB, free: 11.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5253, allocations: 3.938 kB / 0.5232 GB, free: 11.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002383/0.5277, allocations: 0.5858 MB / 0.5238 GB, free: 11.35 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.0005898/0.5282, allocations: 226.8 kB / 0.524 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004968/0.5332, allocations: 2.442 MB / 0.5264 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.5332, allocations: 0 / 0.5264 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002982/0.5362, allocations: 1.549 MB / 0.5279 GB, free: 7.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.5391, allocations: 492.5 kB / 0.5284 GB, free: 6.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.5502, allocations: 5.718 MB / 0.534 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2053/0.7555, allocations: 2.13 MB / 0.536 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001949/0.7575, allocations: 470.8 kB / 0.5365 GB, free: 106.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/0.7579, allocations: 136.8 kB / 0.5366 GB, free: 106.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.7579, allocations: 3 kB / 0.5366 GB, free: 106.1 MB / 446.1 MB Notification: Performance of Templates: time 0.0463/0.8042, allocations: 32.98 MB / 0.5688 GB, free: 82.9 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.4617308638989925]