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.00114/0.00114, allocations: 104.6 kB / 16.92 MB, free: 6.141 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.001186/0.001186, allocations: 191.5 kB / 17.85 MB, free: 5.309 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.375/1.375, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 47.14 kB / 300.6 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.1001, allocations: 49.45 MB / 350.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01299/0.1131, allocations: 11.81 MB / 361.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007147/0.1203, allocations: 3.743 MB / 365.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.1224, allocations: 71.75 kB / 365.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.1249, allocations: 0.8655 MB / 366.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.1285, allocations: 1.083 MB / 367.6 MB, free: 2.758 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1297, allocations: 491.3 kB / 368.1 MB, free: 2.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1558/0.2856, allocations: 4.2 MB / 372.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003764/0.2893, allocations: 3.293 MB / 375.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.2921, allocations: 1.894 MB / 377.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.2956, allocations: 2.332 MB / 379.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009724/0.2966, allocations: 0.495 MB / 380.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.2981, allocations: 0.579 MB / 380.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.2994, allocations: 1.395 MB / 382.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002833/0.3022, allocations: 2.207 MB / 384.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006025/0.3083, allocations: 6.489 MB / 391 MB, free: 5.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3083, allocations: 3.938 kB / 391 MB, free: 5.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3083, allocations: 0 / 391 MB, free: 5.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001695/0.3085, allocations: 3.938 kB / 391 MB, free: 5.328 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.009343/0.3179, allocations: 4.307 MB / 395.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3179, allocations: 6.781 kB / 395.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.319, allocations: 438.3 kB / 395.7 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/0.3223, allocations: 2.321 MB / 398.1 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.3224, allocations: 234.1 kB / 398.3 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/0.3228, allocations: 310.7 kB / 398.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006893/0.3297, allocations: 4.375 MB / 403 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.166e-05/0.3298, allocations: 3.984 kB / 403 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002812/0.3301, allocations: 131.5 kB / 403.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.3302, allocations: 130 kB / 403.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005761/0.336, allocations: 3.777 MB / 407 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/0.3556, allocations: 13.53 MB / 420.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.3589, allocations: 2.893 MB / 423.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/0.3617, allocations: 1.683 MB / 425.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.3619, allocations: 125.8 kB / 425.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.362, allocations: 51.88 kB / 425.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 4.759e-06/0.362, allocations: 7.375 kB / 425.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.01814/0.3802, allocations: 8.98 MB / 434.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.3803, allocations: 77.39 kB / 434.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.384, allocations: 2.353 MB / 436.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.3843, allocations: 57.7 kB / 436.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.3853, allocations: 1.465 MB / 438.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006951/0.386, allocations: 0.6058 MB / 438.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000604/0.3866, allocations: 363.3 kB / 439.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.3867, allocations: 309.1 kB / 439.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.3884, allocations: 1.124 MB / 440.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.3903, allocations: 1.57 MB / 442.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.3941, allocations: 2.782 MB / 445 MB, free: 1.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.3942, allocations: 8 kB / 445 MB, free: 1.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00594/0.4001, allocations: 3.593 MB / 448.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4002, allocations: 12 kB / 448.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/0.4002, allocations: 12.5 kB / 448.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.4022, allocations: 0.8053 MB / 449.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.4039, allocations: 462.4 kB / 449.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.4143, allocations: 11.18 MB / 461 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.4165, allocations: 123.8 kB / 461.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.4167, allocations: 76.12 kB / 461.2 MB, free: 1.137 MB / 366.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 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001946/0.4186, allocations: 1.095 MB / 462.3 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/0.4192, allocations: 245.1 kB / 462.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/0.4246, allocations: 3.306 MB / 465.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.4246, allocations: 16 kB / 465.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.4246, allocations: 8 kB / 465.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.4246, allocations: 7.969 kB / 465.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.4358, allocations: 6.882 MB / 472.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.4359, allocations: 4 kB / 472.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.4371, allocations: 298.1 kB / 473.1 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.4394, allocations: 0.9224 MB / 474 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.4395, allocations: 43.97 kB / 474 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.4525, allocations: 14.63 MB / 488.7 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4525, allocations: 4.031 kB / 488.7 MB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0072/0.4597, allocations: 4.861 MB / 493.5 MB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.461, allocations: 0.5682 MB / 494.1 MB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.4614, allocations: 36 kB / 494.1 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.4627, allocations: 119.9 kB / 494.2 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/0.463, allocations: 161 kB / 494.4 MB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.4631, allocations: 47.98 kB / 494.4 MB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002272/0.4654, allocations: 1.629 MB / 496.1 MB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4654, allocations: 0 / 496.1 MB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001984/0.4674, allocations: 0.7031 MB / 496.8 MB, free: 12.54 MB / 414.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 (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0003784/0.4678, allocations: 216.3 kB / 497 MB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008078/0.4759, allocations: 4.857 MB / 0.4901 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.4759, allocations: 0 / 0.4901 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003663/0.4796, allocations: 2.512 MB / 0.4925 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/0.4839, allocations: 0.7132 MB / 0.4932 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.4967, allocations: 6.82 MB / 0.4999 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/0.4994, allocations: 2.517 MB / 0.5024 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002102/0.5016, allocations: 0.5866 MB / 0.5029 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.5021, allocations: 163.4 kB / 0.5031 GB, free: 9.992 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5021, allocations: 4 kB / 0.5031 GB, free: 9.988 MB / 430.1 MB Notification: Performance of Templates: time 0.2389/0.741, allocations: 42.17 MB / 0.5443 GB, free: 139.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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