Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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.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_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2249, allocations: 50.54 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01331/0.2382, allocations: 11.85 MB / 421.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007547/0.2458, allocations: 3.829 MB / 425.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.2477, allocations: 67.75 kB / 425.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.2503, allocations: 0.9211 MB / 426.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.2538, allocations: 1.142 MB / 427.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.2553, allocations: 0.4915 MB / 428.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005077/0.2604, allocations: 4.244 MB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004466/0.2648, allocations: 3.297 MB / 435.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.2676, allocations: 1.927 MB / 437.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.2712, allocations: 2.331 MB / 440.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001229/0.2724, allocations: 0.4922 MB / 440.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.2741, allocations: 0.5975 MB / 441.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.2755, allocations: 1.395 MB / 442.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.2779, allocations: 2.209 MB / 444.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.2838, allocations: 6.57 MB / 451.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2838, allocations: 0 / 451.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2838, allocations: 4 kB / 451.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.284, allocations: 3.938 kB / 451.3 MB, free: 7.957 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008714/0.2927, allocations: 4.318 MB / 455.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2927, allocations: 8.031 kB / 455.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.2942, allocations: 472 kB / 456.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004278/0.2985, allocations: 2.422 MB / 458.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.2986, allocations: 234.1 kB / 458.8 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004794/0.2991, allocations: 304 kB / 459.1 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007569/0.3067, allocations: 4.365 MB / 463.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-05/0.3068, allocations: 15.84 kB / 463.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003057/0.3071, allocations: 124 kB / 463.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.3073, allocations: 134 kB / 463.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006355/0.3136, allocations: 3.771 MB / 467.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.3348, allocations: 13.38 MB / 480.8 MB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/0.3384, allocations: 2.895 MB / 483.7 MB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002845/0.3412, allocations: 1.68 MB / 485.4 MB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.3415, allocations: 130.4 kB / 485.5 MB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.3416, allocations: 51.88 kB / 485.6 MB, free: 4.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.567e-06/0.3416, allocations: 3.938 kB / 485.6 MB, free: 4.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01833/0.3599, allocations: 8.992 MB / 494.6 MB, free: 11.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.36, allocations: 73.41 kB / 494.7 MB, free: 11.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/0.3639, allocations: 2.366 MB / 497 MB, free: 9.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.364, allocations: 57.7 kB / 497.1 MB, free: 9.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.3652, allocations: 1.478 MB / 498.6 MB, free: 7.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.3657, allocations: 0.6045 MB / 499.2 MB, free: 7.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006501/0.3663, allocations: 367.3 kB / 499.5 MB, free: 6.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3665, allocations: 309 kB / 499.8 MB, free: 6.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.3683, allocations: 1.124 MB / 0.4892 GB, free: 5.289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.3704, allocations: 1.571 MB / 0.4907 GB, free: 3.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004134/0.3746, allocations: 2.78 MB / 0.4935 GB, free: 0.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.3746, allocations: 4 kB / 0.4935 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006197/0.3808, allocations: 3.596 MB / 0.497 GB, free: 12.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.3808, allocations: 12 kB / 0.497 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.3809, allocations: 15.94 kB / 0.497 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.3829, allocations: 0.8024 MB / 0.4978 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.3846, allocations: 459.3 kB / 0.4982 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.3958, allocations: 11.18 MB / 0.5091 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.3977, allocations: 123.8 kB / 0.5093 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.398, allocations: 79.98 kB / 0.5093 GB, free: 15.57 MB / 446.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.001867/0.3998, allocations: 1.092 MB / 0.5104 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/0.4004, allocations: 252.9 kB / 0.5106 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005863/0.4063, allocations: 3.301 MB / 0.5139 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.4063, allocations: 11.95 kB / 0.5139 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4064, allocations: 0 / 0.5139 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.4075, allocations: 0.5682 MB / 0.5144 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.408, allocations: 39.98 kB / 0.5145 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.4094, allocations: 123.9 kB / 0.5146 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.4097, allocations: 157.7 kB / 0.5147 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00712/0.4168, allocations: 3.424 MB / 0.5181 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006171/0.423, allocations: 4.248 MB / 0.5222 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001696/0.4247, allocations: 1.214 MB / 0.5234 GB, free: 1.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002764/0.4275, allocations: 1.641 MB / 0.525 GB, free: 15.37 MB / 462.1 MB Notification: Performance of Backend: time 6.01e-07/0.4275, allocations: 0 / 0.525 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005216/0.4328, allocations: 2.75 MB / 0.5277 GB, free: 12.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.01323/0.446, allocations: 7.089 MB / 0.5346 GB, free: 5.375 MB / 462.1 MB Notification: Performance of Templates: time 0.2283/0.6744, allocations: 42.76 MB / 0.5764 GB, free: 98.23 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches