Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001934/0.001934, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002626/0.002626, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 258.2 MB, free: 8.059 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 68.75 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2625, allocations: 53.38 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01694/0.2794, allocations: 11.95 MB / 444.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009205/0.2886, allocations: 4.017 MB / 448.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.2907, allocations: 83.44 kB / 448.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002612/0.2933, allocations: 0.893 MB / 449.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.2971, allocations: 1.037 MB / 450.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.2988, allocations: 0.5382 MB / 450.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005073/0.3039, allocations: 3.475 MB / 454.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.3064, allocations: 1.538 MB / 456 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.3095, allocations: 1.581 MB / 457.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.3134, allocations: 1.989 MB / 459.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.3145, allocations: 408 kB / 459.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.3162, allocations: 0.7025 MB / 460.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.3175, allocations: 1.165 MB / 461.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002413/0.3199, allocations: 1.847 MB / 463.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00638/0.3263, allocations: 5.403 MB / 469 MB, free: 2.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3263, allocations: 3.984 kB / 469 MB, free: 2.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3263, allocations: 0 / 469 MB, free: 2.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001081/0.3264, allocations: 0 / 469 MB, free: 2.152 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.008666/0.3351, allocations: 3.741 MB / 472.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3351, allocations: 8.031 kB / 472.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.337, allocations: 494.5 kB / 473.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.341, allocations: 1.91 MB / 475.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002456/0.3413, allocations: 201.4 kB / 475.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004366/0.3417, allocations: 268 kB / 475.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006782/0.3485, allocations: 3.521 MB / 479.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.556e-05/0.3486, allocations: 4 kB / 479.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.3488, allocations: 108 kB / 479.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.349, allocations: 125.2 kB / 479.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005848/0.3548, allocations: 2.972 MB / 482.4 MB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0191/0.3739, allocations: 10.83 MB / 493.2 MB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.3767, allocations: 1.514 MB / 494.7 MB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.3788, allocations: 1.098 MB / 495.8 MB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.3791, allocations: 45.28 kB / 495.9 MB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.3791, allocations: 59.86 kB / 495.9 MB, free: 6.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.747e-06/0.3791, allocations: 0 / 495.9 MB, free: 6.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01665/0.3958, allocations: 7.09 MB / 0.4912 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.3958, allocations: 76.64 kB / 0.4913 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/0.399, allocations: 1.992 MB / 0.4932 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.3992, allocations: 49.7 kB / 0.4933 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.4004, allocations: 1.35 MB / 0.4946 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00054/0.4009, allocations: 0.5268 MB / 0.4951 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005502/0.4015, allocations: 327.5 kB / 0.4954 GB, free: 11.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4016, allocations: 301.1 kB / 0.4957 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.4033, allocations: 0.8862 MB / 0.4966 GB, free: 10.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.4054, allocations: 1.38 MB / 0.4979 GB, free: 8.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/0.4092, allocations: 2.373 MB / 0.5002 GB, free: 5.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.4092, allocations: 4 kB / 0.5002 GB, free: 5.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005564/0.4147, allocations: 2.923 MB / 0.5031 GB, free: 2.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.4148, allocations: 12 kB / 0.5031 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.4148, allocations: 12 kB / 0.5031 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.416, allocations: 458.5 kB / 0.5036 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.4176, allocations: 427.3 kB / 0.504 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.425, allocations: 5.888 MB / 0.5097 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.4268, allocations: 127.8 kB / 0.5098 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.4269, allocations: 75.98 kB / 0.5099 GB, free: 11.74 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.00158/0.4285, allocations: 0.8641 MB / 0.5108 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/0.429, allocations: 222.5 kB / 0.511 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/0.4338, allocations: 2.512 MB / 0.5134 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.4338, allocations: 16 kB / 0.5134 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4338, allocations: 4 kB / 0.5134 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.4338, allocations: 7.969 kB / 0.5134 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.4442, allocations: 5.511 MB / 0.5188 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4442, allocations: 0 / 0.5188 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.4454, allocations: 283.6 kB / 0.5191 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.4469, allocations: 0.4969 MB / 0.5196 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.447, allocations: 35.98 kB / 0.5196 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008837/0.4559, allocations: 7.375 MB / 0.5268 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.4559, allocations: 7.938 kB / 0.5268 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006605/0.4625, allocations: 3.749 MB / 0.5305 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.4636, allocations: 426.3 kB / 0.5309 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.4639, allocations: 40.05 kB / 0.5309 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.4651, allocations: 91.89 kB / 0.531 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.4654, allocations: 133 kB / 0.5311 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.4655, allocations: 40 kB / 0.5312 GB, free: 5.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002191/0.4677, allocations: 1.368 MB / 0.5325 GB, free: 3.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4677, allocations: 0 / 0.5325 GB, free: 3.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001894/0.4696, allocations: 0.5859 MB / 0.5331 GB, free: 3.398 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.0004619/0.47, allocations: 222.8 kB / 0.5333 GB, free: 3.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004614/0.4746, allocations: 2.435 MB / 0.5357 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4747, allocations: 7.938 kB / 0.5357 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1897/0.6643, allocations: 1.533 MB / 0.5372 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.002554/0.6669, allocations: 0.4966 MB / 0.5377 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.6756, allocations: 5.724 MB / 0.5433 GB, free: 99.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/0.6774, allocations: 2.145 MB / 0.5454 GB, free: 98.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001545/0.679, allocations: 472.8 kB / 0.5458 GB, free: 98.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.6794, allocations: 141.6 kB / 0.5459 GB, free: 98.19 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6794, allocations: 0 / 0.5459 GB, free: 98.19 MB / 446.1 MB Notification: Performance of Templates: time 0.04909/0.7285, allocations: 33.03 MB / 0.5782 GB, free: 70.38 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.217262048274279]