Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 191.7 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 244.7 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000911/0.0009109, allocations: 101.3 kB / 296.8 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002194/0.0002194, allocations: 8 kB / 356.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2098, allocations: 51.3 MB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.007681/0.2176, allocations: 10.48 MB / 418.5 MB, free: 17.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005075/0.2227, allocations: 3.598 MB / 422.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009909/0.2237, allocations: 67.69 kB / 422.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.2251, allocations: 0.695 MB / 422.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.2269, allocations: 0.9519 MB / 423.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.2275, allocations: 303.6 kB / 424.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002788/0.2303, allocations: 4.421 MB / 428.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.2326, allocations: 2.718 MB / 431.3 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.2341, allocations: 1.416 MB / 432.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.2358, allocations: 1.899 MB / 434.6 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003281/0.2361, allocations: 215.9 kB / 434.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006875/0.2368, allocations: 327.8 kB / 435.1 MB, free: 468 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008765/0.2377, allocations: 1.051 MB / 436.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.2395, allocations: 1.767 MB / 437.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004306/0.2438, allocations: 5.287 MB / 443.2 MB, free: 8.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.2438, allocations: 3.984 kB / 443.2 MB, free: 8.316 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2439, allocations: 0 / 443.2 MB, free: 8.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001403/0.244, allocations: 0 / 443.2 MB, free: 8.316 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01104/0.2551, allocations: 3.66 MB / 446.9 MB, free: 4.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.2551, allocations: 12.03 kB / 446.9 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.2576, allocations: 476 kB / 447.4 MB, free: 4.109 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006309/0.2639, allocations: 2.332 MB / 449.7 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.2642, allocations: 238.1 kB / 449.9 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000877/0.2651, allocations: 303.9 kB / 450.2 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.2767, allocations: 4.361 MB / 454.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.2769, allocations: 7.938 kB / 454.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004646/0.2774, allocations: 132 kB / 454.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/0.2776, allocations: 126 kB / 454.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.2883, allocations: 3.779 MB / 458.6 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03153/0.3199, allocations: 13.59 MB / 472.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005108/0.3251, allocations: 2.899 MB / 475.1 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003937/0.329, allocations: 1.692 MB / 476.8 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/0.3294, allocations: 134.4 kB / 476.9 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.3295, allocations: 55.88 kB / 477 MB, free: 5.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=164): time 8.055e-06/0.3295, allocations: 3.984 kB / 477 MB, free: 5.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=180): time 0.02568/0.3552, allocations: 9.068 MB / 486.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.3553, allocations: 69.41 kB / 486.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004845/0.3601, allocations: 2.346 MB / 488.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.3604, allocations: 57.7 kB / 488.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.3618, allocations: 1.477 MB / 490 MB, free: 8.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006978/0.3625, allocations: 0.5968 MB / 490.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.3627, allocations: 40 kB / 490.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.363, allocations: 393.8 kB / 491 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.3656, allocations: 1.128 MB / 492.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003012/0.3686, allocations: 1.567 MB / 493.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005802/0.3744, allocations: 2.788 MB / 496.5 MB, free: 1.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.3745, allocations: 4 kB / 496.5 MB, free: 1.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.008893/0.3834, allocations: 3.592 MB / 0.4884 GB, free: 14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.3834, allocations: 12 kB / 0.4884 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/0.3835, allocations: 20.38 kB / 0.4884 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/0.3863, allocations: 0.8127 MB / 0.4892 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/0.389, allocations: 463.3 kB / 0.4897 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.4031, allocations: 10.28 MB / 0.4997 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.4057, allocations: 127.9 kB / 0.4998 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.406, allocations: 76 kB / 0.4999 GB, free: 1.539 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002663/0.4086, allocations: 1.092 MB / 0.501 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006269/0.4093, allocations: 249 kB / 0.5012 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2293/0.6386, allocations: 3.303 MB / 0.5044 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.809e-05/0.6386, allocations: 17.91 kB / 0.5044 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/0.6387, allocations: 6.625 kB / 0.5044 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.093e-05/0.6387, allocations: 12.62 kB / 0.5045 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.6555, allocations: 6.894 MB / 0.5112 GB, free: 86.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.6556, allocations: 4.969 kB / 0.5112 GB, free: 86.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/0.6575, allocations: 300.4 kB / 0.5115 GB, free: 86.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003492/0.6611, allocations: 0.9174 MB / 0.5124 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/0.6613, allocations: 42.25 kB / 0.5124 GB, free: 86.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.6761, allocations: 13.47 MB / 0.5256 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6762, allocations: 7.875 kB / 0.5256 GB, free: 74.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008456/0.6846, allocations: 4.879 MB / 0.5303 GB, free: 69.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.686, allocations: 0.5707 MB / 0.5309 GB, free: 69.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.6864, allocations: 39.98 kB / 0.5309 GB, free: 69.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.6879, allocations: 123.9 kB / 0.5311 GB, free: 69.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/0.6883, allocations: 165.7 kB / 0.5312 GB, free: 69.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.6885, allocations: 47.98 kB / 0.5313 GB, free: 68.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002417/0.6909, allocations: 1.613 MB / 0.5328 GB, free: 67.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6909, allocations: 0 / 0.5328 GB, free: 67.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001931/0.6929, allocations: 0.7042 MB / 0.5335 GB, free: 66.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003534/0.6932, allocations: 205.9 kB / 0.5337 GB, free: 66.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004169/0.6974, allocations: 3.586 MB / 0.5372 GB, free: 62.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6974, allocations: 0 / 0.5372 GB, free: 62.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002884/0.7003, allocations: 2.515 MB / 0.5397 GB, free: 60.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/0.7038, allocations: 0.6795 MB / 0.5403 GB, free: 59.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.715, allocations: 7.979 MB / 0.5481 GB, free: 51.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/0.7175, allocations: 2.477 MB / 0.5506 GB, free: 48.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000945/0.7185, allocations: 167.4 kB / 0.5507 GB, free: 48.82 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.7185, allocations: 0 / 0.5507 GB, free: 48.82 MB / 378.7 MB Notification: Performance of Templates: time 0.2947/1.013, allocations: 167.3 MB / 0.714 GB, free: 136 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches