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.001306/0.001306, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001377/0.001377, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.38/1.38, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.002427/0.002427, allocations: 47.92 kB / 368.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3277, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01506/0.3428, allocations: 11.92 MB / 432.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007954/0.3507, allocations: 3.939 MB / 436.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.3526, allocations: 67.75 kB / 436.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.355, allocations: 0.8809 MB / 437.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.3583, allocations: 1.025 MB / 438.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3595, allocations: 0.5265 MB / 439.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004349/0.3639, allocations: 3.44 MB / 442.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.3663, allocations: 1.541 MB / 444.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.3698, allocations: 1.546 MB / 445.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003663/0.3735, allocations: 1.981 MB / 447.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007081/0.3742, allocations: 411.9 kB / 448.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.3757, allocations: 0.6674 MB / 448.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.377, allocations: 1.157 MB / 450 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.3794, allocations: 1.839 MB / 451.8 MB, free: 12 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007007/0.3864, allocations: 5.395 MB / 457.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3864, allocations: 0 / 457.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3864, allocations: 0 / 457.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001263/0.3865, allocations: 0 / 457.2 MB, free: 10.59 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.008328/0.3949, allocations: 3.801 MB / 461 MB, free: 6.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3949, allocations: 8.031 kB / 461 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.3963, allocations: 450.6 kB / 461.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/0.3998, allocations: 1.97 MB / 463.4 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.4, allocations: 205.4 kB / 463.6 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004037/0.4004, allocations: 271.9 kB / 463.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006429/0.4068, allocations: 3.521 MB / 467.4 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.748e-05/0.4069, allocations: 4 kB / 467.4 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/0.4072, allocations: 112 kB / 467.5 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/0.4073, allocations: 117.3 kB / 467.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/0.4131, allocations: 2.98 MB / 470.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.4329, allocations: 11 MB / 481.6 MB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.4359, allocations: 2.191 MB / 483.8 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.438, allocations: 1.098 MB / 484.9 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/0.4383, allocations: 203.5 kB / 485.1 MB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.4384, allocations: 51.88 kB / 485.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.507e-06/0.4384, allocations: 4 kB / 485.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01725/0.4556, allocations: 7.544 MB / 492.7 MB, free: 6.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.4557, allocations: 68.72 kB / 492.8 MB, free: 6.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.4589, allocations: 1.983 MB / 494.8 MB, free: 4.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.4591, allocations: 49.7 kB / 494.8 MB, free: 4.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.4602, allocations: 1.346 MB / 496.1 MB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/0.4607, allocations: 0.5307 MB / 496.7 MB, free: 2.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005627/0.4613, allocations: 323.4 kB / 497 MB, free: 1.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4614, allocations: 305.1 kB / 497.3 MB, free: 1.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.463, allocations: 0.8862 MB / 498.2 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.4649, allocations: 1.371 MB / 499.6 MB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/0.4685, allocations: 2.381 MB / 0.4902 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.4685, allocations: 4 kB / 0.4902 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005651/0.4742, allocations: 2.987 MB / 0.4931 GB, free: 9.441 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.4742, allocations: 15.28 kB / 0.4931 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.4742, allocations: 20 kB / 0.4931 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.4755, allocations: 458.2 kB / 0.4936 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.4771, allocations: 435.3 kB / 0.494 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.4848, allocations: 6.103 MB / 0.4999 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.4867, allocations: 119.8 kB / 0.5 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.4869, allocations: 75.98 kB / 0.5001 GB, free: 1.957 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.001715/0.4886, allocations: 0.8601 MB / 0.501 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005654/0.4891, allocations: 218.6 kB / 0.5012 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004904/0.4941, allocations: 2.576 MB / 0.5037 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-05/0.4941, allocations: 16 kB / 0.5037 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4941, allocations: 4 kB / 0.5037 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.4941, allocations: 11.97 kB / 0.5037 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.5052, allocations: 5.614 MB / 0.5092 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.5052, allocations: 4.406 kB / 0.5092 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.5064, allocations: 283.6 kB / 0.5095 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.5079, allocations: 494.2 kB / 0.5099 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.508, allocations: 47.97 kB / 0.51 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008783/0.5168, allocations: 7.691 MB / 0.5175 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.5168, allocations: 7.938 kB / 0.5175 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006788/0.5236, allocations: 3.84 MB / 0.5213 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.525, allocations: 487.5 kB / 0.5217 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/0.5254, allocations: 32 kB / 0.5218 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.5268, allocations: 103.9 kB / 0.5219 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/0.5271, allocations: 117 kB / 0.522 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.5272, allocations: 47.98 kB / 0.522 GB, free: 10.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002246/0.5295, allocations: 1.356 MB / 0.5233 GB, free: 9.438 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5295, allocations: 0 / 0.5233 GB, free: 9.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002036/0.5315, allocations: 0.5936 MB / 0.5239 GB, free: 8.844 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.0004895/0.532, allocations: 226.8 kB / 0.5241 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004693/0.5367, allocations: 2.514 MB / 0.5266 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5367, allocations: 4.438 kB / 0.5266 GB, free: 6.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002784/0.5395, allocations: 1.537 MB / 0.5281 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.542, allocations: 491.2 kB / 0.5286 GB, free: 3.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.5523, allocations: 5.729 MB / 0.5342 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/0.5545, allocations: 2.128 MB / 0.5362 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001725/0.5562, allocations: 480.9 kB / 0.5367 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.5566, allocations: 139.4 kB / 0.5368 GB, free: 11.42 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5566, allocations: 0 / 0.5368 GB, free: 11.42 MB / 462.1 MB Notification: Performance of Templates: time 0.2491/0.8057, allocations: 32.39 MB / 0.5684 GB, free: 111.7 MB / 462.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.2894157860428095]