Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.6 MB / 223.7 MB, free: 8.922 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000799/0.0007993, allocations: 90.42 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3434, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01236/0.3558, allocations: 10.45 MB / 387.1 MB, free: 37.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.3661, allocations: 3.952 MB / 391 MB, free: 33.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003458/0.3696, allocations: 59.69 kB / 391.1 MB, free: 33.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.3728, allocations: 0.7507 MB / 391.8 MB, free: 33.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004718/0.3775, allocations: 0.9949 MB / 392.8 MB, free: 32.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.3788, allocations: 439.6 kB / 393.2 MB, free: 31.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005054/0.3838, allocations: 4.917 MB / 398.2 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.3863, allocations: 2.639 MB / 400.8 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.3892, allocations: 1.447 MB / 402.2 MB, free: 22.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.3917, allocations: 1.972 MB / 404.2 MB, free: 20.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.3921, allocations: 216 kB / 404.4 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008879/0.393, allocations: 311.8 kB / 404.7 MB, free: 20.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009018/0.3939, allocations: 1.055 MB / 405.8 MB, free: 19.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.3959, allocations: 1.863 MB / 407.7 MB, free: 17.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.4005, allocations: 6.112 MB / 413.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4005, allocations: 0 / 413.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4006, allocations: 0 / 413.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001375/0.4007, allocations: 0 / 413.8 MB, free: 11.08 MB / 298.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.006917/0.4076, allocations: 3.632 MB / 417.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4077, allocations: 12.03 kB / 417.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.4088, allocations: 444 kB / 417.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/0.4129, allocations: 2.235 MB / 420.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.4131, allocations: 230.1 kB / 420.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004576/0.4135, allocations: 307.8 kB / 420.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007649/0.4212, allocations: 4.354 MB / 425 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.012e-05/0.4213, allocations: 15.83 kB / 425 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002873/0.4216, allocations: 124 kB / 425.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.4217, allocations: 130 kB / 425.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006703/0.4284, allocations: 3.767 MB / 429 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02796/0.4564, allocations: 13.63 MB / 442.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/0.4606, allocations: 2.905 MB / 445.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/0.4639, allocations: 1.7 MB / 447.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/0.4643, allocations: 130.4 kB / 447.3 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.084e-05/0.4644, allocations: 51.88 kB / 447.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of pre-optimization done (n=164): time 4.268e-06/0.4644, allocations: 0 / 447.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.02049/0.4849, allocations: 9.28 MB / 456.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.485, allocations: 73.41 kB / 456.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004253/0.4893, allocations: 2.342 MB / 459.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002764/0.4896, allocations: 57.7 kB / 459.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.491, allocations: 1.462 MB / 460.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008157/0.4919, allocations: 0.6007 MB / 461.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.492, allocations: 40 kB / 461.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.4922, allocations: 393.8 kB / 461.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.4944, allocations: 1.124 MB / 462.8 MB, free: 9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.4967, allocations: 1.578 MB / 464.3 MB, free: 7.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/0.5008, allocations: 2.784 MB / 467.1 MB, free: 4.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.5009, allocations: 4 kB / 467.1 MB, free: 4.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007196/0.5081, allocations: 3.592 MB / 470.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.5082, allocations: 11.94 kB / 470.7 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/0.5082, allocations: 19.94 kB / 470.7 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/0.5105, allocations: 0.7908 MB / 471.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.5123, allocations: 467.2 kB / 472 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.5245, allocations: 10.29 MB / 482.3 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.5274, allocations: 135.9 kB / 482.4 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.5276, allocations: 72 kB / 482.5 MB, free: 4.199 MB / 362.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 (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.002664/0.5303, allocations: 1.088 MB / 483.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000689/0.531, allocations: 249 kB / 483.8 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00628/0.5373, allocations: 3.305 MB / 487.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.5373, allocations: 16 kB / 487.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.5373, allocations: 8 kB / 487.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.5374, allocations: 7.969 kB / 487.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/0.5507, allocations: 6.904 MB / 494.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.5508, allocations: 4.219 kB / 494.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.5521, allocations: 303.5 kB / 494.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/0.5547, allocations: 0.9199 MB / 495.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.5549, allocations: 43.97 kB / 495.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2904/0.8453, allocations: 13.45 MB / 0.4968 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.8454, allocations: 2.688 kB / 0.4969 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009373/0.8548, allocations: 4.868 MB / 0.5016 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.8565, allocations: 0.5647 MB / 0.5022 GB, free: 99.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.8568, allocations: 38.5 kB / 0.5022 GB, free: 99.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.8581, allocations: 135 kB / 0.5023 GB, free: 99.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/0.8586, allocations: 157 kB / 0.5025 GB, free: 99.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.8587, allocations: 54.11 kB / 0.5025 GB, free: 99.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002572/0.8613, allocations: 1.615 MB / 0.5041 GB, free: 99.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8613, allocations: 0 / 0.5041 GB, free: 99.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002373/0.8637, allocations: 0.7038 MB / 0.5048 GB, free: 99.12 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 (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.0004573/0.8641, allocations: 205.6 kB / 0.505 GB, free: 99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004811/0.869, allocations: 3.59 MB / 0.5085 GB, free: 97.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.869, allocations: 0 / 0.5085 GB, free: 97.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003142/0.8721, allocations: 2.52 MB / 0.511 GB, free: 95.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/0.8758, allocations: 0.6709 MB / 0.5116 GB, free: 94.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.8859, allocations: 8.314 MB / 0.5197 GB, free: 86.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/0.8877, allocations: 2.528 MB / 0.5222 GB, free: 84.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002032/0.8898, allocations: 0.5827 MB / 0.5228 GB, free: 83.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/0.8902, allocations: 155.4 kB / 0.5229 GB, free: 83.29 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8902, allocations: 0 / 0.5229 GB, free: 83.29 MB / 378.7 MB Notification: Performance of Templates: time 0.07057/0.9608, allocations: 39.92 MB / 0.5619 GB, free: 43.47 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","../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