Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 90.89 kB / 16.31 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 184.1 kB / 17.2 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 241.1 MB, free: 280 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003138, allocations: 8 kB / 300.7 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 50.42 MB / 351.2 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01067/0.1276, allocations: 9.549 MB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007471/0.1351, allocations: 3.672 MB / 364.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.1374, allocations: 55.75 kB / 364.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.1403, allocations: 0.7269 MB / 365.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.1443, allocations: 0.8879 MB / 366 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.1459, allocations: 299.6 kB / 366.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005297/0.1512, allocations: 2.639 MB / 369 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2783/0.4296, allocations: 2.261 MB / 371.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.4328, allocations: 1.293 MB / 372.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/0.4369, allocations: 1.626 MB / 374.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009166/0.4378, allocations: 211.8 kB / 374.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.4393, allocations: 268.2 kB / 374.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.4405, allocations: 0.9837 MB / 375.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.442, allocations: 0.7479 MB / 376.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006821/0.4488, allocations: 5.226 MB / 381.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4488, allocations: 0 / 381.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4488, allocations: 0.75 kB / 381.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002411/0.4491, allocations: 1.438 kB / 381.6 MB, free: 9.262 MB / 302.1 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.01135/0.4604, allocations: 3.671 MB / 385.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4605, allocations: 8.781 kB / 385.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002878/0.4634, allocations: 436.8 kB / 385.7 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.4695, allocations: 2.27 MB / 388 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.4698, allocations: 233.6 kB / 388.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009756/0.4708, allocations: 312.8 kB / 388.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008531/0.4793, allocations: 4.328 MB / 392.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-05/0.4794, allocations: 9.812 kB / 392.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003351/0.4798, allocations: 125.5 kB / 393 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.4799, allocations: 132.4 kB / 393.1 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006628/0.4866, allocations: 3.772 MB / 396.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02385/0.5105, allocations: 13.54 MB / 410.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.5141, allocations: 2.892 MB / 413.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.5144, allocations: 128.4 kB / 413.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.5145, allocations: 55.83 kB / 413.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 6.072e-06/0.5145, allocations: 0 / 413.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01927/0.5338, allocations: 9.132 MB / 422.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.5339, allocations: 69.41 kB / 422.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004508/0.5384, allocations: 2.287 MB / 425 MB, free: 8.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004044/0.5388, allocations: 53.7 kB / 425 MB, free: 8.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.54, allocations: 1.479 MB / 426.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007763/0.5408, allocations: 0.5996 MB / 427.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.541, allocations: 44 kB / 427.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.5412, allocations: 385.9 kB / 427.5 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.5434, allocations: 1.14 MB / 428.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.5458, allocations: 1.582 MB / 430.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.5481, allocations: 1.357 MB / 431.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.5481, allocations: 4 kB / 431.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006843/0.555, allocations: 3.621 MB / 435.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.555, allocations: 8 kB / 435.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.5551, allocations: 16.5 kB / 435.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.5572, allocations: 0.802 MB / 436 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.5591, allocations: 459.3 kB / 436.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.5707, allocations: 10.49 MB / 447 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/0.5742, allocations: 139.8 kB / 447.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006862/0.5749, allocations: 72 kB / 447.2 MB, free: 1.633 MB / 350.1 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.003695/0.5786, allocations: 1.103 MB / 448.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/0.5796, allocations: 241.1 kB / 448.5 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006861/0.5865, allocations: 3.35 MB / 451.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.5866, allocations: 16 kB / 451.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.812e-05/0.5866, allocations: 8 kB / 451.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.5866, allocations: 7.969 kB / 451.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.6007, allocations: 6.864 MB / 458.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.6008, allocations: 4 kB / 458.8 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.6021, allocations: 307.8 kB / 459.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/0.6045, allocations: 0.9232 MB / 460 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.6047, allocations: 43.97 kB / 460 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.6173, allocations: 13.74 MB / 473.8 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.6173, allocations: 3.953 kB / 473.8 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008906/0.6262, allocations: 5.055 MB / 478.8 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/0.6283, allocations: 0.5604 MB / 479.4 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009733/0.6293, allocations: 46.83 kB / 479.4 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/0.6314, allocations: 131.9 kB / 479.6 MB, free: 88 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005119/0.6319, allocations: 161.7 kB / 479.7 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.6321, allocations: 47.98 kB / 479.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004272/0.6364, allocations: 1.57 MB / 481.3 MB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6364, allocations: 0 / 481.3 MB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004357/0.6408, allocations: 0.6992 MB / 482 MB, free: 13.6 MB / 398.1 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.0006665/0.6415, allocations: 173.6 kB / 482.2 MB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006379/0.6479, allocations: 3.624 MB / 485.8 MB, free: 9.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/0.6479, allocations: 0 / 485.8 MB, free: 9.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003894/0.6518, allocations: 2.534 MB / 488.4 MB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004155/0.656, allocations: 0.6521 MB / 489 MB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.6728, allocations: 7.961 MB / 497 MB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003779/0.6766, allocations: 2.587 MB / 499.6 MB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002797/0.6794, allocations: 0.5905 MB / 0.4884 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007986/0.6803, allocations: 155.4 kB / 0.4886 GB, free: 11.03 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6803, allocations: 0 / 0.4886 GB, free: 11.03 MB / 414.1 MB Notification: Performance of Templates: time 0.07481/0.7551, allocations: 38.24 MB / 0.5259 GB, free: 5.184 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches