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.001768/0.001768, allocations: 75.19 kB / 21.24 MB, free: 0.5469 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.001812/0.001812, allocations: 150.1 kB / 24.49 MB, free: 3.73 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.423/1.423, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.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.001555/0.001555, allocations: 45.73 kB / 319.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08418/0.08574, allocations: 52.17 MB / 371.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01305/0.09879, allocations: 10.38 MB / 382 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006879/0.1057, allocations: 3.714 MB / 385.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.1068, allocations: 79.5 kB / 385.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.1088, allocations: 0.8351 MB / 386.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.1114, allocations: 1.029 MB / 387.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1125, allocations: 0.5227 MB / 388.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003937/0.1164, allocations: 3.444 MB / 391.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.1186, allocations: 1.479 MB / 393.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.1208, allocations: 1.577 MB / 394.7 MB, free: 232 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.1235, allocations: 1.876 MB / 396.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006172/0.1241, allocations: 408 kB / 396.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.1255, allocations: 0.6284 MB / 397.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.1267, allocations: 1.161 MB / 398.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.1284, allocations: 1.482 MB / 400.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00562/0.134, allocations: 5.411 MB / 405.6 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.134, allocations: 0 / 405.6 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.134, allocations: 0 / 405.6 MB, free: 5.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.761e-05/0.1341, allocations: 0 / 405.6 MB, free: 5.234 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.007344/0.1415, allocations: 3.734 MB / 409.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1415, allocations: 12.92 kB / 409.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.1428, allocations: 450.6 kB / 409.8 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.1462, allocations: 1.894 MB / 411.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.1464, allocations: 205.4 kB / 411.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/0.1468, allocations: 267.9 kB / 412.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005937/0.1527, allocations: 3.654 MB / 415.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.621e-05/0.1528, allocations: 7.938 kB / 415.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.1531, allocations: 112 kB / 415.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.1532, allocations: 121.2 kB / 416 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005283/0.1585, allocations: 2.964 MB / 419 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01604/0.1745, allocations: 9.587 MB / 428.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.1773, allocations: 1.508 MB / 430.1 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/0.1794, allocations: 1.094 MB / 431.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.1797, allocations: 53.27 kB / 431.2 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.1797, allocations: 47.88 kB / 431.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.717e-06/0.1797, allocations: 4 kB / 431.3 MB, free: 11.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01648/0.1962, allocations: 7.074 MB / 438.4 MB, free: 3.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.1962, allocations: 68.72 kB / 438.4 MB, free: 3.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.1989, allocations: 1.811 MB / 440.3 MB, free: 2.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.199, allocations: 53.7 kB / 440.3 MB, free: 1.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.2001, allocations: 1.353 MB / 441.7 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.2006, allocations: 0.5346 MB / 442.2 MB, free: 52 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006084/0.2012, allocations: 327.5 kB / 442.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2013, allocations: 305.1 kB / 442.8 MB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.2029, allocations: 0.8822 MB / 443.7 MB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.2049, allocations: 1.376 MB / 445.1 MB, free: 12.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/0.2085, allocations: 2.381 MB / 447.4 MB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.2085, allocations: 4 kB / 447.5 MB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005367/0.2139, allocations: 2.892 MB / 450.3 MB, free: 7.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.2139, allocations: 16 kB / 450.4 MB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.214, allocations: 16 kB / 450.4 MB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.2151, allocations: 465.7 kB / 450.8 MB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.2169, allocations: 435.3 kB / 451.3 MB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00732/0.2242, allocations: 5.782 MB / 457 MB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.2257, allocations: 119.9 kB / 457.2 MB, free: 444 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.2259, allocations: 79.92 kB / 457.2 MB, free: 364 kB / 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.001478/0.2274, allocations: 0.8485 MB / 458.1 MB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004692/0.2278, allocations: 206.7 kB / 458.3 MB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004805/0.2326, allocations: 2.491 MB / 460.8 MB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/0.2327, allocations: 20.08 kB / 460.8 MB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.2327, allocations: 4 kB / 460.8 MB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.2327, allocations: 11.91 kB / 460.8 MB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009613/0.2423, allocations: 4.849 MB / 465.7 MB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.2423, allocations: 7.938 kB / 465.7 MB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.2436, allocations: 279.6 kB / 465.9 MB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.245, allocations: 0.5012 MB / 466.4 MB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.2451, allocations: 35.98 kB / 466.5 MB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1937/0.4389, allocations: 7.246 MB / 473.7 MB, free: 88.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4389, allocations: 3.375 kB / 473.7 MB, free: 88.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006132/0.445, allocations: 3.744 MB / 477.5 MB, free: 87.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.4461, allocations: 399.7 kB / 477.9 MB, free: 87.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.4464, allocations: 41.52 kB / 477.9 MB, free: 87.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.4475, allocations: 100.2 kB / 478 MB, free: 87.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.4478, allocations: 126 kB / 478.1 MB, free: 87.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.4479, allocations: 42.66 kB / 478.2 MB, free: 87.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.4499, allocations: 1.228 MB / 479.4 MB, free: 87.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4499, allocations: 0 / 479.4 MB, free: 87.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001902/0.4518, allocations: 0.582 MB / 480 MB, free: 87.14 MB / 430.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.0004381/0.4522, allocations: 223.4 kB / 480.2 MB, free: 87.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004234/0.4564, allocations: 2.437 MB / 482.6 MB, free: 86.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.4565, allocations: 5.203 kB / 482.6 MB, free: 86.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002462/0.4589, allocations: 1.538 MB / 484.2 MB, free: 85.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.4609, allocations: 424.3 kB / 484.6 MB, free: 85.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/0.4682, allocations: 5.687 MB / 490.3 MB, free: 82.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.4694, allocations: 1.571 MB / 491.8 MB, free: 82.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.4705, allocations: 451.8 kB / 492.3 MB, free: 82.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.4709, allocations: 130.9 kB / 492.4 MB, free: 82.06 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4709, allocations: 4 kB / 492.4 MB, free: 82.06 MB / 430.1 MB Notification: Performance of Templates: time 0.04027/0.5112, allocations: 29.67 MB / 0.5098 GB, free: 53.99 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/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.012065782910213]