Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.002234/0.002234, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.003001/0.003001, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 8.02 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_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.1.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.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 47.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2346, allocations: 53.37 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.0146/0.2492, allocations: 11.95 MB / 443.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007544/0.2567, allocations: 4.015 MB / 447.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.258, allocations: 83.44 kB / 447.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.2601, allocations: 0.8969 MB / 448.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.2628, allocations: 1.037 MB / 449.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.264, allocations: 0.5382 MB / 450.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004182/0.2682, allocations: 3.463 MB / 453.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.2705, allocations: 1.538 MB / 455.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.2731, allocations: 1.592 MB / 456.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.2762, allocations: 1.989 MB / 458.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006228/0.2769, allocations: 408 kB / 459.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.2782, allocations: 0.7025 MB / 459.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.2794, allocations: 1.157 MB / 461 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.2816, allocations: 1.851 MB / 462.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006445/0.2881, allocations: 5.403 MB / 468.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2881, allocations: 0 / 468.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2881, allocations: 0 / 468.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000101/0.2882, allocations: 0 / 468.3 MB, free: 2.113 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.008192/0.2964, allocations: 3.745 MB / 472 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2964, allocations: 8.031 kB / 472 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.2982, allocations: 494.5 kB / 472.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003996/0.3021, allocations: 1.91 MB / 474.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3023, allocations: 201.4 kB / 474.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004166/0.3027, allocations: 271.9 kB / 474.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006082/0.3088, allocations: 3.517 MB / 478.4 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-05/0.3089, allocations: 11.98 kB / 478.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.3091, allocations: 115.9 kB / 478.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.3093, allocations: 125.2 kB / 478.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005317/0.3146, allocations: 2.96 MB / 481.6 MB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.3328, allocations: 10.84 MB / 492.4 MB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.3355, allocations: 1.506 MB / 493.9 MB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.3376, allocations: 1.094 MB / 495 MB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.3379, allocations: 65.25 kB / 495.1 MB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.3379, allocations: 43.88 kB / 495.1 MB, free: 6.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.095e-06/0.3379, allocations: 0 / 495.1 MB, free: 6.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01685/0.3548, allocations: 7.099 MB / 0.4905 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.3548, allocations: 68.72 kB / 0.4905 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/0.358, allocations: 1.992 MB / 0.4925 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.3582, allocations: 49.7 kB / 0.4925 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.3593, allocations: 1.35 MB / 0.4938 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/0.3598, allocations: 0.5267 MB / 0.4943 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.3604, allocations: 323.5 kB / 0.4947 GB, free: 11.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3605, allocations: 305.1 kB / 0.4949 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.3621, allocations: 0.8939 MB / 0.4958 GB, free: 10 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.3641, allocations: 1.372 MB / 0.4972 GB, free: 8.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.3678, allocations: 2.369 MB / 0.4995 GB, free: 5.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3678, allocations: 4 kB / 0.4995 GB, free: 5.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00549/0.3733, allocations: 2.923 MB / 0.5023 GB, free: 2.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.3733, allocations: 12 kB / 0.5023 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/0.3734, allocations: 16 kB / 0.5024 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.3747, allocations: 461.3 kB / 0.5028 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.3764, allocations: 431.3 kB / 0.5032 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00736/0.3837, allocations: 5.9 MB / 0.509 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.3854, allocations: 119.8 kB / 0.5091 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.3856, allocations: 68 kB / 0.5091 GB, free: 11.69 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.001583/0.3872, allocations: 0.8602 MB / 0.51 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/0.3876, allocations: 222.5 kB / 0.5102 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/0.3923, allocations: 2.508 MB / 0.5127 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/0.3924, allocations: 16.09 kB / 0.5127 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.3924, allocations: 4 kB / 0.5127 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.3924, allocations: 11.95 kB / 0.5127 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.4025, allocations: 5.515 MB / 0.5181 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.4025, allocations: 7.984 kB / 0.5181 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.4038, allocations: 275.6 kB / 0.5183 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.4052, allocations: 0.4944 MB / 0.5188 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.4053, allocations: 39.98 kB / 0.5189 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008846/0.4142, allocations: 7.369 MB / 0.5261 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.4142, allocations: 4 kB / 0.5261 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007006/0.4212, allocations: 3.761 MB / 0.5297 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/0.4228, allocations: 422.3 kB / 0.5301 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/0.4231, allocations: 35.98 kB / 0.5302 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.4244, allocations: 99.83 kB / 0.5303 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.4247, allocations: 129 kB / 0.5304 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.4248, allocations: 47.98 kB / 0.5304 GB, free: 5.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002241/0.427, allocations: 1.364 MB / 0.5318 GB, free: 3.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.427, allocations: 0 / 0.5318 GB, free: 3.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002162/0.4292, allocations: 0.5859 MB / 0.5323 GB, free: 3.348 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.000502/0.4297, allocations: 229.2 kB / 0.5326 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004669/0.4343, allocations: 2.442 MB / 0.5349 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4344, allocations: 0 / 0.5349 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1948/0.6291, allocations: 1.534 MB / 0.5364 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.6324, allocations: 494.7 kB / 0.5369 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008801/0.6412, allocations: 5.726 MB / 0.5425 GB, free: 99.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.6428, allocations: 2.144 MB / 0.5446 GB, free: 98.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00146/0.6443, allocations: 478.2 kB / 0.5451 GB, free: 98.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.6447, allocations: 133.5 kB / 0.5452 GB, free: 98.19 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6447, allocations: 0 / 0.5452 GB, free: 98.19 MB / 446.1 MB Notification: Performance of Templates: time 0.0471/0.6918, allocations: 33.06 MB / 0.5775 GB, free: 70.31 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.507397700799629]