Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001331/0.001331, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001549/0.001549, allocations: 217 kB / 24.5 MB, free: 4.133 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.552/1.552, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.84 kB / 379.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2681, allocations: 53.4 MB / 432.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01211/0.2802, allocations: 9.825 MB / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006826/0.2871, allocations: 3.123 MB / 445.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.2887, allocations: 59.62 kB / 445.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.2905, allocations: 0.66 MB / 446.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.2933, allocations: 0.7999 MB / 446.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2943, allocations: 395.4 kB / 447.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.2977, allocations: 2.44 MB / 449.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.2992, allocations: 1.044 MB / 450.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.3011, allocations: 1.114 MB / 451.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.3033, allocations: 1.354 MB / 453.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004312/0.3037, allocations: 276 kB / 453.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007893/0.3045, allocations: 383.8 kB / 453.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008086/0.3053, allocations: 0.7829 MB / 454.7 MB, free: 416 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.3068, allocations: 1.279 MB / 456 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.3112, allocations: 3.67 MB / 459.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3112, allocations: 0 / 459.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3112, allocations: 4 kB / 459.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.906e-05/0.3113, allocations: 0 / 459.6 MB, free: 11.43 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006135/0.3175, allocations: 2.583 MB / 462.2 MB, free: 8.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3175, allocations: 8.031 kB / 462.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009295/0.3184, allocations: 287.3 kB / 462.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.3212, allocations: 1.29 MB / 463.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.3213, allocations: 148.1 kB / 464 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.3217, allocations: 199.9 kB / 464.1 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/0.326, allocations: 2.419 MB / 466.6 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.648e-05/0.326, allocations: 4 kB / 466.6 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.3262, allocations: 76 kB / 466.6 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.3263, allocations: 87.69 kB / 466.7 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/0.3298, allocations: 1.962 MB / 468.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.343, allocations: 7.637 MB / 476.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.3447, allocations: 1.007 MB / 477.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.3466, allocations: 0.9094 MB / 478.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.3468, allocations: 44.95 kB / 478.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.3468, allocations: 51.5 kB / 478.3 MB, free: 8.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.156e-06/0.3468, allocations: 0 / 478.3 MB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01318/0.36, allocations: 5.508 MB / 483.8 MB, free: 2.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.3601, allocations: 68.34 kB / 483.9 MB, free: 2.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.3622, allocations: 1.314 MB / 485.2 MB, free: 1.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.3624, allocations: 45.7 kB / 485.3 MB, free: 1.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007846/0.3632, allocations: 0.942 MB / 486.2 MB, free: 400 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/0.3636, allocations: 412.5 kB / 486.6 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.364, allocations: 247.5 kB / 486.9 MB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3642, allocations: 365.9 kB / 487.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.3652, allocations: 0.6403 MB / 487.9 MB, free: 14.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.3666, allocations: 1.008 MB / 488.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.3691, allocations: 1.727 MB / 490.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.3691, allocations: 4 kB / 490.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004198/0.3733, allocations: 2.242 MB / 492.8 MB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.3733, allocations: 10.5 kB / 492.8 MB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.3733, allocations: 12 kB / 492.9 MB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.3746, allocations: 499.8 kB / 493.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.3757, allocations: 299.5 kB / 493.6 MB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/0.3837, allocations: 6.818 MB / 0.4887 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.3851, allocations: 79.91 kB / 0.4888 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.3852, allocations: 60.06 kB / 0.4889 GB, free: 1.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001251/0.3865, allocations: 0.6069 MB / 0.4895 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.3868, allocations: 151 kB / 0.4896 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.3904, allocations: 1.957 MB / 0.4915 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.3904, allocations: 12 kB / 0.4915 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.3904, allocations: 4 kB / 0.4915 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.3904, allocations: 7.969 kB / 0.4915 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007581/0.398, allocations: 4.081 MB / 0.4955 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.398, allocations: 0 / 0.4955 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008522/0.3989, allocations: 188.2 kB / 0.4957 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.4004, allocations: 0.546 MB / 0.4962 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.4005, allocations: 35.92 kB / 0.4963 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009257/0.4098, allocations: 8.333 MB / 0.5044 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/0.4098, allocations: 8.031 kB / 0.5044 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004946/0.4147, allocations: 2.856 MB / 0.5072 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.4157, allocations: 294.8 kB / 0.5075 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.416, allocations: 28 kB / 0.5075 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000797/0.4168, allocations: 63.92 kB / 0.5076 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.4171, allocations: 100.7 kB / 0.5077 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/0.4171, allocations: 35.98 kB / 0.5077 GB, free: 13.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.4186, allocations: 0.8918 MB / 0.5086 GB, free: 12.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4186, allocations: 0 / 0.5086 GB, free: 12.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001745/0.4203, allocations: 436 kB / 0.509 GB, free: 12.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.000469/0.4208, allocations: 190.4 kB / 0.5092 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003687/0.4245, allocations: 2.003 MB / 0.5111 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.4245, allocations: 0 / 0.5111 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.4268, allocations: 1.381 MB / 0.5125 GB, free: 8.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.4289, allocations: 422.5 kB / 0.5129 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/0.4367, allocations: 4.244 MB / 0.517 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.4382, allocations: 1.638 MB / 0.5186 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.4387, allocations: 107.4 kB / 0.5187 GB, free: 1.875 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4387, allocations: 3.938 kB / 0.5187 GB, free: 1.871 MB / 430.1 MB Notification: Performance of Templates: time 0.3049/0.7436, allocations: 71.25 MB / 0.5883 GB, free: 58.14 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 13.25173814012669]