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.001451/0.001451, allocations: 103 kB / 17.74 MB, free: 5.305 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.0011/0.0011, allocations: 198.5 kB / 18.67 MB, free: 4.383 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2445, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01234/0.2569, allocations: 11.83 MB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007198/0.2641, allocations: 3.739 MB / 417 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.266, allocations: 71.69 kB / 417.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.2683, allocations: 0.9083 MB / 418 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.2716, allocations: 1.127 MB / 419.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.2727, allocations: 495.3 kB / 419.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004491/0.2772, allocations: 4.228 MB / 423.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004215/0.2814, allocations: 3.297 MB / 427.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.284, allocations: 1.912 MB / 429 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/0.2876, allocations: 2.331 MB / 431.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.2888, allocations: 0.4961 MB / 431.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.2904, allocations: 0.578 MB / 432.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.292, allocations: 1.391 MB / 433.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002629/0.2946, allocations: 2.205 MB / 436 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005919/0.3006, allocations: 6.554 MB / 442.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3006, allocations: 0 / 442.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3006, allocations: 4 kB / 442.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.695e-05/0.3007, allocations: 0 / 442.6 MB, free: 15.52 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.008319/0.309, allocations: 4.302 MB / 446.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3091, allocations: 8.031 kB / 446.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009967/0.3101, allocations: 436.1 kB / 447.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004111/0.3142, allocations: 2.398 MB / 449.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.3144, allocations: 226.2 kB / 449.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/0.3148, allocations: 307.9 kB / 450.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006768/0.3216, allocations: 4.369 MB / 454.6 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.215e-05/0.3217, allocations: 7.938 kB / 454.6 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.322, allocations: 132 kB / 454.7 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.3221, allocations: 134 kB / 454.9 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005947/0.3281, allocations: 3.775 MB / 458.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01999/0.3481, allocations: 13.38 MB / 472 MB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.3516, allocations: 2.919 MB / 474.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002739/0.3543, allocations: 1.68 MB / 476.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.3546, allocations: 126.4 kB / 476.7 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3546, allocations: 51.88 kB / 476.8 MB, free: 12.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.587e-06/0.3546, allocations: 0 / 476.8 MB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01784/0.3725, allocations: 8.992 MB / 485.8 MB, free: 3.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.3726, allocations: 69.41 kB / 485.8 MB, free: 3.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/0.3758, allocations: 2.346 MB / 488.2 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.3759, allocations: 57.7 kB / 488.2 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009767/0.3769, allocations: 1.47 MB / 489.7 MB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/0.3774, allocations: 0.6046 MB / 490.3 MB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005724/0.378, allocations: 367.3 kB / 490.7 MB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.3781, allocations: 309.1 kB / 491 MB, free: 14.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.3797, allocations: 1.12 MB / 492.1 MB, free: 12.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.3818, allocations: 1.574 MB / 493.7 MB, free: 11.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00377/0.3856, allocations: 2.78 MB / 496.5 MB, free: 8.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.3856, allocations: 4 kB / 496.5 MB, free: 8.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.0063/0.3919, allocations: 3.592 MB / 0.4883 GB, free: 4.609 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3919, allocations: 15.98 kB / 0.4883 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.392, allocations: 15.94 kB / 0.4884 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.394, allocations: 0.7986 MB / 0.4891 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.3958, allocations: 459.2 kB / 0.4896 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.4069, allocations: 11.18 MB / 0.5005 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.409, allocations: 123.8 kB / 0.5006 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.4093, allocations: 79.98 kB / 0.5007 GB, free: 7.23 MB / 430.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.002021/0.4114, allocations: 1.088 MB / 0.5018 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006986/0.4121, allocations: 245 kB / 0.502 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005958/0.418, allocations: 3.297 MB / 0.5052 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/0.4181, allocations: 7.969 kB / 0.5052 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.4181, allocations: 0 / 0.5052 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/0.4196, allocations: 0.576 MB / 0.5058 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006201/0.4203, allocations: 36 kB / 0.5058 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.4218, allocations: 123.9 kB / 0.5059 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/0.4222, allocations: 161.7 kB / 0.5061 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007069/0.4293, allocations: 3.428 MB / 0.5094 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00612/0.4354, allocations: 4.248 MB / 0.5136 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001642/0.4371, allocations: 1.218 MB / 0.5148 GB, free: 8.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002696/0.4398, allocations: 1.621 MB / 0.5164 GB, free: 7.043 MB / 446.1 MB Notification: Performance of Backend: time 1.593e-06/0.4398, allocations: 0 / 0.5164 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005307/0.4451, allocations: 2.735 MB / 0.519 GB, free: 4.199 MB / 446.1 MB Notification: Performance of SimCode: time 0.01198/0.4571, allocations: 7.073 MB / 0.5259 GB, free: 13.08 MB / 462.1 MB Notification: Performance of Templates: time 0.2298/0.6869, allocations: 42.49 MB / 0.5674 GB, free: 114.8 MB / 462.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/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches