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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 114.1 kB / 17.07 MB, free: 5.984 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.001036/0.001036, allocations: 194.9 kB / 18.01 MB, free: 5.066 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009962/0.0009962, allocations: 47.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.252, allocations: 49.44 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01363/0.2657, allocations: 11.81 MB / 412.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007498/0.2732, allocations: 3.743 MB / 415.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.2756, allocations: 71.69 kB / 415.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.2782, allocations: 0.9075 MB / 416.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.2816, allocations: 1.13 MB / 417.9 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.2828, allocations: 499.3 kB / 418.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004695/0.2876, allocations: 4.229 MB / 422.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004033/0.2916, allocations: 3.289 MB / 425.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.2941, allocations: 1.912 MB / 427.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/0.2977, allocations: 2.331 MB / 430.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.299, allocations: 0.4999 MB / 430.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.3006, allocations: 0.578 MB / 431.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00189/0.3025, allocations: 1.395 MB / 432.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003504/0.306, allocations: 2.209 MB / 434.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00833/0.3144, allocations: 6.563 MB / 441.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3144, allocations: 4 kB / 441.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3144, allocations: 0 / 441.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002766/0.3147, allocations: 0 / 441.4 MB, free: 15.46 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.01086/0.3256, allocations: 4.411 MB / 445.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3257, allocations: 8.031 kB / 445.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005837/0.3262, allocations: 442.6 kB / 446.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.3273, allocations: 458.3 kB / 446.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.3316, allocations: 2.404 MB / 449.1 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.3318, allocations: 234.1 kB / 449.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/0.3322, allocations: 307.9 kB / 449.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006948/0.3392, allocations: 4.369 MB / 454 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.509e-05/0.3393, allocations: 11.89 kB / 454 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.3396, allocations: 132 kB / 454.2 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.3397, allocations: 130 kB / 454.3 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006381/0.3461, allocations: 3.779 MB / 458.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/0.368, allocations: 13.41 MB / 471.5 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.3713, allocations: 2.911 MB / 474.4 MB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/0.3739, allocations: 1.68 MB / 476.1 MB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.3742, allocations: 134.4 kB / 476.2 MB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3742, allocations: 55.8 kB / 476.2 MB, free: 11.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.156e-06/0.3742, allocations: 0 / 476.2 MB, free: 11.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01691/0.3911, allocations: 9.03 MB / 485.3 MB, free: 2.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3912, allocations: 69.41 kB / 485.3 MB, free: 2.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00369/0.3949, allocations: 2.361 MB / 487.7 MB, free: 168 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.3952, allocations: 57.7 kB / 487.8 MB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.3963, allocations: 1.493 MB / 489.3 MB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006188/0.3969, allocations: 0.6391 MB / 489.9 MB, free: 13.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006706/0.3976, allocations: 371.5 kB / 490.3 MB, free: 13.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.3977, allocations: 301.1 kB / 490.5 MB, free: 13.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.3994, allocations: 1.128 MB / 491.7 MB, free: 12.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.4014, allocations: 1.571 MB / 493.2 MB, free: 10.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/0.4052, allocations: 2.784 MB / 496 MB, free: 7.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.4053, allocations: 7.938 kB / 496 MB, free: 7.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006116/0.4114, allocations: 3.594 MB / 499.6 MB, free: 3.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.4114, allocations: 11.94 kB / 499.6 MB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.4115, allocations: 15.98 kB / 499.7 MB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.4134, allocations: 0.8064 MB / 0.4887 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.4152, allocations: 463.3 kB / 0.4892 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.4254, allocations: 11.17 MB / 0.5001 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.4275, allocations: 127.8 kB / 0.5002 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003106/0.4278, allocations: 72 kB / 0.5003 GB, free: 6.441 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.002023/0.4299, allocations: 1.096 MB / 0.5014 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000719/0.4306, allocations: 262.3 kB / 0.5016 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00582/0.4364, allocations: 3.297 MB / 0.5048 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.4365, allocations: 20 kB / 0.5048 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/0.4365, allocations: 4 kB / 0.5048 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.4365, allocations: 7.969 kB / 0.5049 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.4496, allocations: 6.848 MB / 0.5115 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.4496, allocations: 4 kB / 0.5115 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.4509, allocations: 299.5 kB / 0.5118 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.4532, allocations: 0.9277 MB / 0.5127 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.4534, allocations: 39.98 kB / 0.5128 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/0.4662, allocations: 14.62 MB / 0.527 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4662, allocations: 4.031 kB / 0.5271 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007433/0.4737, allocations: 4.87 MB / 0.5318 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.4752, allocations: 0.5735 MB / 0.5324 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006333/0.4758, allocations: 43.88 kB / 0.5324 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.4775, allocations: 123.9 kB / 0.5325 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/0.4779, allocations: 149.8 kB / 0.5327 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.478, allocations: 51.98 kB / 0.5327 GB, free: 3.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002729/0.4808, allocations: 1.629 MB / 0.5343 GB, free: 2.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4808, allocations: 3.938 kB / 0.5343 GB, free: 2.305 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002344/0.4831, allocations: 0.7032 MB / 0.535 GB, free: 1.602 MB / 462.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.2136/0.6967, allocations: 5.534 MB / 0.5404 GB, free: 128.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004802/0.7015, allocations: 3.593 MB / 0.5439 GB, free: 126.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7016, allocations: 1.031 kB / 0.5439 GB, free: 126.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002986/0.7046, allocations: 2.52 MB / 0.5464 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.7079, allocations: 0.7205 MB / 0.5471 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03288/0.7408, allocations: 26.31 MB / 0.5728 GB, free: 103.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00278/0.7436, allocations: 2.525 MB / 0.5752 GB, free: 101 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002155/0.7458, allocations: 0.5866 MB / 0.5758 GB, free: 100.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/0.7475, allocations: 1.257 MB / 0.577 GB, free: 99.13 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.7475, allocations: 3.938 kB / 0.577 GB, free: 99.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09603/0.8435, allocations: 66.62 MB / 0.6421 GB, free: 33.15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.53, allocations: 8 kB / 0.6421 GB, free: 33.14 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > 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.csv","/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