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.001248/0.001248, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001324/0.001324, allocations: 192 kB / 18.63 MB, free: 4.375 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.471/1.471, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 47.45 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.121, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01361/0.1346, allocations: 11.81 MB / 363.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007636/0.1423, allocations: 3.743 MB / 367.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.1443, allocations: 71.69 kB / 367.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.1469, allocations: 0.8655 MB / 368 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.1509, allocations: 1.08 MB / 369.1 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1524, allocations: 491.3 kB / 369.6 MB, free: 1.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2108/0.3632, allocations: 4.23 MB / 373.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004713/0.368, allocations: 3.296 MB / 377.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.3716, allocations: 1.904 MB / 379 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004889/0.3766, allocations: 2.331 MB / 381.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002518/0.3791, allocations: 0.4954 MB / 381.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/0.3835, allocations: 0.5834 MB / 382.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00282/0.3863, allocations: 1.393 MB / 383.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006182/0.3925, allocations: 2.21 MB / 386 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006682/0.3992, allocations: 6.536 MB / 392.5 MB, free: 5.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3993, allocations: 0 / 392.5 MB, free: 5.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3993, allocations: 1.375 kB / 392.5 MB, free: 5.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001745/0.3995, allocations: 0 / 392.5 MB, free: 5.27 MB / 302.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.01133/0.4108, allocations: 4.313 MB / 396.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4109, allocations: 14 kB / 396.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.4121, allocations: 432.3 kB / 397.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.4169, allocations: 2.393 MB / 399.7 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.4171, allocations: 228 kB / 399.9 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005611/0.4177, allocations: 318 kB / 400.2 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007945/0.4256, allocations: 4.365 MB / 404.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.192e-05/0.4257, allocations: 11.98 kB / 404.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.426, allocations: 124 kB / 404.7 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.4262, allocations: 126 kB / 404.8 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006297/0.4325, allocations: 3.78 MB / 408.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0234/0.4559, allocations: 13.38 MB / 422 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/0.4602, allocations: 2.894 MB / 424.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002729/0.463, allocations: 1.681 MB / 426.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/0.4633, allocations: 132.8 kB / 426.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.4634, allocations: 55.81 kB / 426.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.948e-06/0.4634, allocations: 0 / 426.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02052/0.4839, allocations: 8.981 MB / 435.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.484, allocations: 69.41 kB / 435.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005651/0.4897, allocations: 2.361 MB / 438.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005746/0.4903, allocations: 57.7 kB / 438.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.4918, allocations: 1.468 MB / 439.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001174/0.493, allocations: 0.6018 MB / 440.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/0.4949, allocations: 367.3 kB / 440.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4951, allocations: 305.1 kB / 440.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.4979, allocations: 1.131 MB / 442.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/0.5006, allocations: 1.566 MB / 443.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004476/0.505, allocations: 2.794 MB / 446.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.885e-05/0.5051, allocations: 7.938 kB / 446.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00727/0.5124, allocations: 3.59 MB / 450 MB, free: 13.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.5124, allocations: 8 kB / 450 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.5125, allocations: 12 kB / 450 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.5147, allocations: 0.8099 MB / 450.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.5167, allocations: 464.4 kB / 451.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.5283, allocations: 11.15 MB / 462.5 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.5311, allocations: 135.8 kB / 462.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005483/0.5317, allocations: 72 kB / 462.7 MB, free: 0.6289 MB / 366.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.003032/0.5347, allocations: 1.091 MB / 463.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009598/0.5357, allocations: 245 kB / 464 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006858/0.5425, allocations: 3.302 MB / 467.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.5426, allocations: 20 kB / 467.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.673e-05/0.5426, allocations: 4 kB / 467.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.5427, allocations: 15.95 kB / 467.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/0.5595, allocations: 6.844 MB / 474.2 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.5596, allocations: 0 / 474.2 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.5609, allocations: 297.6 kB / 474.5 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/0.5636, allocations: 0.933 MB / 475.4 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/0.5638, allocations: 39.98 kB / 475.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/0.5793, allocations: 14.6 MB / 490 MB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.5793, allocations: 4.031 kB / 490 MB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009151/0.5885, allocations: 4.873 MB / 494.9 MB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002157/0.5907, allocations: 0.5643 MB / 495.5 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009794/0.5917, allocations: 35.98 kB / 495.5 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/0.5937, allocations: 131.9 kB / 495.6 MB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005235/0.5943, allocations: 157.6 kB / 495.8 MB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.5945, allocations: 47.98 kB / 495.8 MB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003827/0.5983, allocations: 1.621 MB / 497.5 MB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5983, allocations: 0 / 497.5 MB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003723/0.602, allocations: 0.7031 MB / 498.2 MB, free: 12.06 MB / 414.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.0006716/0.6027, allocations: 219 kB / 498.4 MB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006201/0.6089, allocations: 3.586 MB / 0.4902 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.609, allocations: 0 / 0.4902 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003936/0.6129, allocations: 2.507 MB / 0.4927 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004613/0.6176, allocations: 0.7163 MB / 0.4934 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.6322, allocations: 6.744 MB / 0.4999 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/0.6355, allocations: 2.513 MB / 0.5024 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002329/0.6379, allocations: 0.5905 MB / 0.503 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008697/0.6388, allocations: 163.4 kB / 0.5031 GB, free: 10.74 MB / 430.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6388, allocations: 0 / 0.5031 GB, free: 10.74 MB / 430.1 MB Notification: Performance of Templates: time 0.2484/0.8872, allocations: 39.81 MB / 0.542 GB, free: 148.1 MB / 446.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 -s gbode -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