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.001553/0.001553, allocations: 114.5 kB / 18.41 MB, free: 4.691 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.001674/0.001674, allocations: 190.1 kB / 19.35 MB, free: 3.762 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.27/1.27, 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.001163/0.001163, allocations: 59.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07272/0.0739, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.1621/0.236, allocations: 11.77 MB / 387.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005908/0.242, allocations: 3.798 MB / 391.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009816/0.243, allocations: 62.97 kB / 391.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.2447, allocations: 0.9171 MB / 392.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.2469, allocations: 1.124 MB / 393.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.2478, allocations: 0.4888 MB / 394 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003528/0.2514, allocations: 4.272 MB / 398.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/0.2547, allocations: 3.204 MB / 401.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.2571, allocations: 1.908 MB / 403.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.2601, allocations: 2.324 MB / 405.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000684/0.2608, allocations: 0.4968 MB / 406.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.2619, allocations: 0.5861 MB / 406.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.2633, allocations: 1.405 MB / 408.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.2655, allocations: 2.207 MB / 410.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005725/0.2712, allocations: 6.577 MB / 417 MB, free: 6.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2712, allocations: 0 / 417 MB, free: 6.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2712, allocations: 0 / 417 MB, free: 6.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.04e-05/0.2713, allocations: 0 / 417 MB, free: 6.062 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.007833/0.2792, allocations: 4.393 MB / 421.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2792, allocations: 8.031 kB / 421.4 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009514/0.2802, allocations: 454.3 kB / 421.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.2836, allocations: 2.276 MB / 424.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.2837, allocations: 230.1 kB / 424.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004371/0.2842, allocations: 308 kB / 424.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006341/0.2905, allocations: 4.365 MB / 429 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.168e-05/0.2906, allocations: 7.938 kB / 429 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.2909, allocations: 128 kB / 429.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.291, allocations: 134 kB / 429.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005754/0.2968, allocations: 3.775 MB / 433 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.3151, allocations: 13.43 MB / 446.4 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.3184, allocations: 2.895 MB / 449.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.321, allocations: 1.685 MB / 451 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/0.3213, allocations: 126.4 kB / 451.2 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3213, allocations: 55.86 kB / 451.2 MB, free: 3.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 3.377e-06/0.3213, allocations: 0 / 451.2 MB, free: 3.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.01735/0.3387, allocations: 9.274 MB / 460.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.3387, allocations: 73.41 kB / 460.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/0.3421, allocations: 2.357 MB / 462.9 MB, free: 7.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.3422, allocations: 53.7 kB / 463 MB, free: 7.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009921/0.3432, allocations: 1.509 MB / 464.5 MB, free: 5.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/0.3437, allocations: 0.6275 MB / 465.1 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005946/0.3443, allocations: 371.4 kB / 465.5 MB, free: 4.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.3444, allocations: 305.1 kB / 465.8 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.3461, allocations: 1.124 MB / 466.9 MB, free: 3.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.348, allocations: 1.567 MB / 468.5 MB, free: 1.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/0.3516, allocations: 2.784 MB / 471.2 MB, free: 14.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.3516, allocations: 4 kB / 471.2 MB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005623/0.3573, allocations: 3.597 MB / 474.8 MB, free: 11.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.3573, allocations: 12.5 kB / 474.8 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.3573, allocations: 20 kB / 474.9 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.3593, allocations: 0.8057 MB / 475.7 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.3611, allocations: 455.3 kB / 476.1 MB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.3717, allocations: 11.19 MB / 487.3 MB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.3735, allocations: 123.8 kB / 487.4 MB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.3737, allocations: 76 kB / 487.5 MB, free: 13.77 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.001979/0.3757, allocations: 1.087 MB / 488.6 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/0.3762, allocations: 258.4 kB / 488.8 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005642/0.3819, allocations: 3.309 MB / 492.2 MB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.3819, allocations: 7.969 kB / 492.2 MB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3819, allocations: 0 / 492.2 MB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.3831, allocations: 0.5813 MB / 492.7 MB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/0.3834, allocations: 36 kB / 492.8 MB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.3846, allocations: 123.9 kB / 492.9 MB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.385, allocations: 157.7 kB / 493.1 MB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006847/0.3918, allocations: 3.437 MB / 496.5 MB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006143/0.398, allocations: 4.265 MB / 0.489 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001726/0.3997, allocations: 1.214 MB / 0.4902 GB, free: 15.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002563/0.4023, allocations: 1.629 MB / 0.4918 GB, free: 13.53 MB / 430.1 MB Notification: Performance of Backend: time 3.5e-07/0.4023, allocations: 0 / 0.4918 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005132/0.4075, allocations: 2.749 MB / 0.4945 GB, free: 10.67 MB / 430.1 MB Notification: Performance of SimCode: time 0.0114/0.4189, allocations: 7.164 MB / 0.5015 GB, free: 3.441 MB / 430.1 MB Notification: Performance of Templates: time 0.06737/0.4863, allocations: 42.51 MB / 0.543 GB, free: 8.84 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