Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001828/0.001828, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002203/0.002203, allocations: 203.9 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.91 kB / 378.2 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2521, allocations: 53.4 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01441/0.2665, allocations: 10.43 MB / 442.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00817/0.2746, allocations: 3.768 MB / 445.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.2767, allocations: 83.44 kB / 445.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.2796, allocations: 0.8424 MB / 446.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.2835, allocations: 1.045 MB / 447.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.2852, allocations: 0.5227 MB / 448.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004957/0.2902, allocations: 3.479 MB / 451.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.2932, allocations: 1.475 MB / 453.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.296, allocations: 1.592 MB / 454.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/0.2996, allocations: 1.879 MB / 456.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.3008, allocations: 408 kB / 457.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.3027, allocations: 0.6206 MB / 457.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001796/0.3045, allocations: 1.157 MB / 458.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002984/0.3075, allocations: 1.501 MB / 460.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008172/0.3157, allocations: 5.422 MB / 465.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3157, allocations: 0 / 465.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3157, allocations: 0 / 465.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000183/0.3159, allocations: 0 / 465.9 MB, free: 4.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.01042/0.3263, allocations: 3.745 MB / 469.6 MB, free: 324 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3263, allocations: 15.98 kB / 469.6 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.3282, allocations: 486.5 kB / 470.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.3322, allocations: 1.914 MB / 472 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.3324, allocations: 209.4 kB / 472.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.3328, allocations: 264 kB / 472.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006488/0.3393, allocations: 3.643 MB / 476.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.108e-05/0.3394, allocations: 8 kB / 476.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002632/0.3396, allocations: 115.9 kB / 476.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.3398, allocations: 121.2 kB / 476.4 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005631/0.3454, allocations: 2.96 MB / 479.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.3632, allocations: 9.585 MB / 488.9 MB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.3659, allocations: 1.494 MB / 490.4 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002129/0.368, allocations: 1.083 MB / 491.5 MB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.3683, allocations: 57.25 kB / 491.5 MB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.3683, allocations: 47.88 kB / 491.6 MB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=130): time 4.308e-06/0.3684, allocations: 4 kB / 491.6 MB, free: 9.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=147): time 0.01688/0.3852, allocations: 7.022 MB / 498.6 MB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.3853, allocations: 68.7 kB / 498.7 MB, free: 2.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.3883, allocations: 1.835 MB / 0.4888 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.3885, allocations: 49.7 kB / 0.4888 GB, free: 0.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.3897, allocations: 1.354 MB / 0.4901 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005986/0.3903, allocations: 0.5268 MB / 0.4907 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005438/0.3908, allocations: 323.4 kB / 0.491 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.391, allocations: 309.1 kB / 0.4913 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.3926, allocations: 0.8823 MB / 0.4921 GB, free: 13.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.3947, allocations: 1.372 MB / 0.4935 GB, free: 11.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.3984, allocations: 2.377 MB / 0.4958 GB, free: 9.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.3984, allocations: 4 kB / 0.4958 GB, free: 9.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005546/0.404, allocations: 2.892 MB / 0.4986 GB, free: 6.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.404, allocations: 15.94 kB / 0.4986 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.404, allocations: 12 kB / 0.4986 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.4052, allocations: 469.3 kB / 0.4991 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.4068, allocations: 423.3 kB / 0.4995 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/0.414, allocations: 5.788 MB / 0.5051 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.4156, allocations: 123.8 kB / 0.5053 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.4158, allocations: 75.98 kB / 0.5053 GB, free: 15.26 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 (198): * Single equations (assignments): 193 * 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.001517/0.4173, allocations: 0.8524 MB / 0.5062 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/0.4177, allocations: 206.7 kB / 0.5064 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/0.4225, allocations: 2.487 MB / 0.5088 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.359e-05/0.4225, allocations: 20 kB / 0.5088 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4225, allocations: 4 kB / 0.5088 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.4225, allocations: 8.062 kB / 0.5088 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009499/0.432, allocations: 4.846 MB / 0.5136 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.432, allocations: 0 / 0.5136 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.4333, allocations: 284 kB / 0.5138 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.4347, allocations: 494.2 kB / 0.5143 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.4348, allocations: 43.91 kB / 0.5143 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00869/0.4435, allocations: 7.24 MB / 0.5214 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.4435, allocations: 3.938 kB / 0.5214 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006826/0.4503, allocations: 3.741 MB / 0.5251 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.4517, allocations: 390.5 kB / 0.5254 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.4519, allocations: 36 kB / 0.5255 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.4531, allocations: 99.88 kB / 0.5256 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.4534, allocations: 121 kB / 0.5257 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.4535, allocations: 43.98 kB / 0.5257 GB, free: 9.848 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.4556, allocations: 1.239 MB / 0.5269 GB, free: 8.617 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4556, allocations: 0 / 0.5269 GB, free: 8.617 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002022/0.4576, allocations: 0.5859 MB / 0.5275 GB, free: 8.031 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 (124): * Single equations (assignments): 119 * 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.0005295/0.4581, allocations: 233.4 kB / 0.5277 GB, free: 7.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004735/0.4629, allocations: 2.449 MB / 0.5301 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4629, allocations: 0 / 0.5301 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002843/0.4657, allocations: 1.538 MB / 0.5316 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.468, allocations: 434.9 kB / 0.532 GB, free: 3.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1976/0.6656, allocations: 5.684 MB / 0.5376 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.6674, allocations: 1.577 MB / 0.5391 GB, free: 100.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001484/0.6689, allocations: 453 kB / 0.5396 GB, free: 100.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.6693, allocations: 131.4 kB / 0.5397 GB, free: 100.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6693, allocations: 0 / 0.5397 GB, free: 100.4 MB / 446.1 MB Notification: Performance of Templates: time 0.04317/0.7125, allocations: 33 MB / 0.5719 GB, free: 74.59 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.4580572713166475]