Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.001205/0.001205, allocations: 185.2 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 44.41 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1149, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.2219/0.3368, allocations: 11.77 MB / 387.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007923/0.3448, allocations: 3.801 MB / 391.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.3474, allocations: 66.41 kB / 391.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003516/0.3509, allocations: 0.8676 MB / 392.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.3557, allocations: 1.073 MB / 393.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.3574, allocations: 0.4932 MB / 393.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006593/0.364, allocations: 4.267 MB / 398.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005052/0.3691, allocations: 3.209 MB / 401.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.3738, allocations: 1.898 MB / 403.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005985/0.3798, allocations: 2.333 MB / 405.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001786/0.3817, allocations: 0.497 MB / 406.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.3843, allocations: 0.5896 MB / 406.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002127/0.3864, allocations: 1.403 MB / 408.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005871/0.3923, allocations: 2.207 MB / 410.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00923/0.4016, allocations: 6.548 MB / 416.8 MB, free: 6.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.4016, allocations: 0 / 416.8 MB, free: 6.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4016, allocations: 5.344 kB / 416.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002602/0.4019, allocations: 0 / 416.8 MB, free: 6.133 MB / 334.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.01345/0.4153, allocations: 4.29 MB / 421.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4154, allocations: 8.031 kB / 421.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.4168, allocations: 440 kB / 421.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.4216, allocations: 2.25 MB / 423.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.4219, allocations: 242.1 kB / 424.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008996/0.4228, allocations: 304 kB / 424.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009103/0.432, allocations: 4.365 MB / 428.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.529e-05/0.4321, allocations: 15.83 kB / 428.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003139/0.4324, allocations: 128 kB / 428.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.4325, allocations: 130 kB / 429 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006561/0.4391, allocations: 3.771 MB / 432.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0229/0.462, allocations: 13.38 MB / 446.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003426/0.4655, allocations: 2.899 MB / 449 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002646/0.4682, allocations: 1.68 MB / 450.7 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.4685, allocations: 134.4 kB / 450.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.4685, allocations: 47.88 kB / 450.9 MB, free: 3.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 4.048e-06/0.4685, allocations: 0 / 450.9 MB, free: 3.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.01882/0.4874, allocations: 9.217 MB / 460.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.4875, allocations: 69.41 kB / 460.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/0.4914, allocations: 2.353 MB / 462.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004259/0.4919, allocations: 57.7 kB / 462.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/0.4936, allocations: 1.47 MB / 464.1 MB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009822/0.4946, allocations: 0.6162 MB / 464.7 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009367/0.4956, allocations: 363.3 kB / 465 MB, free: 5.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4957, allocations: 305.1 kB / 465.3 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002801/0.4985, allocations: 1.124 MB / 466.5 MB, free: 3.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003228/0.5018, allocations: 1.574 MB / 468 MB, free: 2.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/0.5079, allocations: 2.78 MB / 470.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/0.508, allocations: 8 kB / 470.8 MB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00971/0.5177, allocations: 3.577 MB / 474.4 MB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.5178, allocations: 15.92 kB / 474.4 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/0.5178, allocations: 20.44 kB / 474.4 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.5206, allocations: 0.8065 MB / 475.2 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.5236, allocations: 463.3 kB / 475.7 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.5381, allocations: 11.18 MB / 486.9 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.5407, allocations: 119.9 kB / 487 MB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004723/0.5412, allocations: 71.98 kB / 487.1 MB, free: 14.15 MB / 414.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.00284/0.5441, allocations: 1.091 MB / 488.1 MB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009674/0.545, allocations: 248.9 kB / 488.4 MB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006756/0.5518, allocations: 3.301 MB / 491.7 MB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.5519, allocations: 23.98 kB / 491.7 MB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.5519, allocations: 4 kB / 491.7 MB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.5519, allocations: 7.969 kB / 491.7 MB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.5646, allocations: 6.848 MB / 498.6 MB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.5646, allocations: 0 / 498.6 MB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.5659, allocations: 295.5 kB / 498.9 MB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/0.5683, allocations: 0.928 MB / 499.8 MB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.5685, allocations: 47.91 kB / 499.8 MB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/0.5833, allocations: 14.58 MB / 0.5024 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5834, allocations: 4 kB / 0.5024 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008545/0.5919, allocations: 4.869 MB / 0.5071 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/0.5938, allocations: 0.5682 MB / 0.5077 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/0.5943, allocations: 47.92 kB / 0.5077 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.5957, allocations: 115.9 kB / 0.5078 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004498/0.5962, allocations: 153.8 kB / 0.508 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.5963, allocations: 51.98 kB / 0.508 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002922/0.5993, allocations: 1.625 MB / 0.5096 GB, free: 10.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5993, allocations: 0 / 0.5096 GB, free: 10.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003372/0.6027, allocations: 0.7031 MB / 0.5103 GB, free: 9.367 MB / 446.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.0005906/0.6033, allocations: 216 kB / 0.5105 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005741/0.609, allocations: 3.597 MB / 0.514 GB, free: 5.449 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.6091, allocations: 0 / 0.514 GB, free: 5.449 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003874/0.6129, allocations: 2.508 MB / 0.5165 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/0.6167, allocations: 0.7118 MB / 0.5172 GB, free: 2.113 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.629, allocations: 6.749 MB / 0.5238 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.6313, allocations: 2.478 MB / 0.5262 GB, free: 8.797 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009711/0.6323, allocations: 167.4 kB / 0.5263 GB, free: 8.633 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6323, allocations: 0 / 0.5263 GB, free: 8.633 MB / 462.1 MB Notification: Performance of Templates: time 0.3887/1.021, allocations: 168.3 MB / 0.6907 GB, free: 25.35 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches