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.001393/0.001393, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001972/0.001972, allocations: 210.7 kB / 24.48 MB, free: 3.977 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 2.33/2.33, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 177] 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.002001/0.002001, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.336, allocations: 53.37 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01853/0.3545, allocations: 10.41 MB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.3654, allocations: 3.764 MB / 446.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002817/0.3682, allocations: 83.5 kB / 446.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.3714, allocations: 0.8502 MB / 447.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.3763, allocations: 1.037 MB / 448.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.3781, allocations: 0.5344 MB / 449 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006432/0.3845, allocations: 3.471 MB / 452.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/0.3877, allocations: 1.538 MB / 454 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/0.3909, allocations: 1.581 MB / 455.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00398/0.3949, allocations: 1.989 MB / 457.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009043/0.3958, allocations: 412 kB / 458 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.3976, allocations: 0.6363 MB / 458.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.3991, allocations: 1.165 MB / 459.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002368/0.4015, allocations: 1.497 MB / 461.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008125/0.4096, allocations: 5.422 MB / 466.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4096, allocations: 0 / 466.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4096, allocations: 0 / 466.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001093/0.4097, allocations: 0 / 466.7 MB, free: 4.145 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.0106/0.4203, allocations: 3.749 MB / 470.5 MB, free: 352 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4204, allocations: 8.031 kB / 470.5 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.4229, allocations: 490.5 kB / 471 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005507/0.4284, allocations: 1.914 MB / 472.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.4286, allocations: 201.4 kB / 473.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006567/0.4293, allocations: 267.9 kB / 473.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00925/0.4385, allocations: 3.654 MB / 477 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.971e-05/0.4386, allocations: 4 kB / 477 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/0.439, allocations: 115.9 kB / 477.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/0.4392, allocations: 125.2 kB / 477.2 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008095/0.4473, allocations: 2.956 MB / 480.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/0.4728, allocations: 9.58 MB / 489.8 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.4763, allocations: 1.495 MB / 491.3 MB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.479, allocations: 1.094 MB / 492.4 MB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.4793, allocations: 45.28 kB / 492.4 MB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.4794, allocations: 51.88 kB / 492.5 MB, free: 9.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 4.849e-06/0.4794, allocations: 4 kB / 492.5 MB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.02225/0.5016, allocations: 7.078 MB / 499.5 MB, free: 2.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.5017, allocations: 68.72 kB / 499.6 MB, free: 2.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/0.5056, allocations: 1.831 MB / 0.4897 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.5058, allocations: 53.7 kB / 0.4897 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.5072, allocations: 1.357 MB / 0.4911 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006657/0.5078, allocations: 0.5267 MB / 0.4916 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007289/0.5086, allocations: 323.5 kB / 0.4919 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5087, allocations: 305.1 kB / 0.4922 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.5109, allocations: 0.8862 MB / 0.493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.5136, allocations: 1.376 MB / 0.4944 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005042/0.5186, allocations: 2.381 MB / 0.4967 GB, free: 9.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.5186, allocations: 8 kB / 0.4967 GB, free: 9.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007472/0.5261, allocations: 2.9 MB / 0.4995 GB, free: 6.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.5262, allocations: 15.94 kB / 0.4996 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.5262, allocations: 15.98 kB / 0.4996 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.5278, allocations: 457 kB / 0.5 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.5302, allocations: 431.3 kB / 0.5004 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009346/0.5396, allocations: 5.787 MB / 0.5061 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.5422, allocations: 127.8 kB / 0.5062 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/0.5424, allocations: 75.98 kB / 0.5063 GB, free: 15.21 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.002048/0.5445, allocations: 0.8502 MB / 0.5071 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006153/0.5451, allocations: 210.7 kB / 0.5073 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006312/0.5514, allocations: 2.495 MB / 0.5097 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.663e-05/0.5515, allocations: 24.02 kB / 0.5098 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.5515, allocations: 4 kB / 0.5098 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.5515, allocations: 7.969 kB / 0.5098 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.5644, allocations: 4.861 MB / 0.5145 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.5644, allocations: 7.938 kB / 0.5145 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.5662, allocations: 275.6 kB / 0.5148 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/0.5681, allocations: 0.4983 MB / 0.5153 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.5682, allocations: 39.98 kB / 0.5153 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.5797, allocations: 7.233 MB / 0.5224 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.5797, allocations: 11.92 kB / 0.5224 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.5899, allocations: 3.741 MB / 0.526 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/0.5917, allocations: 394.5 kB / 0.5264 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004778/0.5922, allocations: 40.05 kB / 0.5265 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.5941, allocations: 99.89 kB / 0.5266 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004531/0.5946, allocations: 129 kB / 0.5267 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.5947, allocations: 43.98 kB / 0.5267 GB, free: 9.742 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002943/0.5977, allocations: 1.242 MB / 0.5279 GB, free: 8.508 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5977, allocations: 0 / 0.5279 GB, free: 8.508 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002944/0.6006, allocations: 0.5781 MB / 0.5285 GB, free: 7.93 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.0005964/0.6012, allocations: 222.8 kB / 0.5287 GB, free: 7.699 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006021/0.6073, allocations: 2.443 MB / 0.5311 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.6073, allocations: 4 kB / 0.5311 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003953/0.6112, allocations: 1.541 MB / 0.5326 GB, free: 3.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.6143, allocations: 430.3 kB / 0.533 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.347/0.9614, allocations: 5.693 MB / 0.5386 GB, free: 100.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003204/0.9646, allocations: 1.58 MB / 0.5401 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002276/0.9668, allocations: 448.7 kB / 0.5405 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006425/0.9675, allocations: 133 kB / 0.5407 GB, free: 100.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.374e-06/0.9675, allocations: 3.688 kB / 0.5407 GB, free: 100.1 MB / 446.1 MB Notification: Performance of Templates: time 0.06574/1.033, allocations: 33.72 MB / 0.5736 GB, free: 73.23 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/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: 8.47621185099706]