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.001606/0.001606, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001647/0.001647, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.824/1.824, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 51.39 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.15, allocations: 49.44 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01968/0.1698, allocations: 11.8 MB / 362 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.1817, allocations: 3.743 MB / 365.7 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003625/0.1854, allocations: 71.69 kB / 365.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.1898, allocations: 0.8694 MB / 366.7 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005855/0.1957, allocations: 1.08 MB / 367.7 MB, free: 2.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.1977, allocations: 487.4 kB / 368.2 MB, free: 2.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2843/0.482, allocations: 4.217 MB / 372.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006801/0.4889, allocations: 3.291 MB / 375.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006259/0.4952, allocations: 1.896 MB / 377.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007423/0.5027, allocations: 2.328 MB / 379.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003295/0.506, allocations: 0.4941 MB / 380.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005707/0.5118, allocations: 0.5867 MB / 381 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004603/0.5164, allocations: 1.396 MB / 382.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00702/0.5235, allocations: 2.212 MB / 384.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.5346, allocations: 6.476 MB / 391.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.5347, allocations: 7.938 kB / 391.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5347, allocations: 1.812 kB / 391.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002421/0.535, allocations: 0 / 391.1 MB, free: 5.027 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.02181/0.5568, allocations: 4.299 MB / 395.4 MB, free: 2.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/0.5569, allocations: 13.41 kB / 395.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00215/0.559, allocations: 443.2 kB / 395.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/0.5621, allocations: 441.5 kB / 396.3 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008067/0.5702, allocations: 2.313 MB / 398.6 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.5705, allocations: 229.2 kB / 398.8 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/0.5722, allocations: 326.4 kB / 399.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.5864, allocations: 4.369 MB / 403.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.5865, allocations: 9.766 kB / 403.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004116/0.587, allocations: 127.3 kB / 403.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/0.5872, allocations: 130 kB / 403.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009305/0.5965, allocations: 3.785 MB / 407.6 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0266/0.6231, allocations: 13.52 MB / 421.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003738/0.6269, allocations: 2.893 MB / 424 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002934/0.6299, allocations: 1.68 MB / 425.7 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/0.6302, allocations: 133.5 kB / 425.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/0.6303, allocations: 53.19 kB / 425.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.787e-06/0.6303, allocations: 0 / 425.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02038/0.6507, allocations: 8.988 MB / 434.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.6508, allocations: 73.41 kB / 434.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005252/0.656, allocations: 2.353 MB / 437.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005437/0.6566, allocations: 57.7 kB / 437.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.6579, allocations: 1.469 MB / 438.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009112/0.6588, allocations: 0.6049 MB / 439.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.66, allocations: 371.2 kB / 439.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6602, allocations: 309 kB / 440 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.6626, allocations: 1.12 MB / 441.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/0.6651, allocations: 1.574 MB / 442.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/0.6694, allocations: 2.787 MB / 445.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.6694, allocations: 4 kB / 445.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007253/0.6767, allocations: 3.588 MB / 449.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.6768, allocations: 12 kB / 449.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.6768, allocations: 12 kB / 449.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/0.6791, allocations: 0.8098 MB / 449.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.681, allocations: 457.1 kB / 450.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.6924, allocations: 11.17 MB / 461.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.695, allocations: 127.7 kB / 461.7 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003886/0.6954, allocations: 84.05 kB / 461.8 MB, free: 396 kB / 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.002703/0.6981, allocations: 1.085 MB / 462.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008284/0.6989, allocations: 245 kB / 463.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006219/0.7052, allocations: 3.302 MB / 466.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.7052, allocations: 16 kB / 466.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/0.7053, allocations: 8 kB / 466.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.7053, allocations: 15.95 kB / 466.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.7196, allocations: 6.878 MB / 473.3 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.7196, allocations: 4 kB / 473.3 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.7209, allocations: 298.2 kB / 473.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/0.7234, allocations: 0.9355 MB / 474.5 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.7236, allocations: 39.98 kB / 474.6 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/0.7367, allocations: 14.62 MB / 489.2 MB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7368, allocations: 11.53 kB / 489.2 MB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008505/0.7453, allocations: 4.853 MB / 494.1 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/0.7469, allocations: 0.5682 MB / 494.6 MB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008204/0.7478, allocations: 39.98 kB / 494.7 MB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.7495, allocations: 127.9 kB / 494.8 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004172/0.75, allocations: 153.7 kB / 494.9 MB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.7501, allocations: 47.98 kB / 495 MB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002977/0.7531, allocations: 1.624 MB / 496.6 MB, free: 12.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7531, allocations: 4 kB / 496.6 MB, free: 12.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002826/0.756, allocations: 0.7031 MB / 497.3 MB, free: 11.8 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.008383/0.7644, allocations: 5.525 MB / 0.4911 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008891/0.7733, allocations: 4.857 MB / 0.4958 GB, free: 1.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.7733, allocations: 5.938 kB / 0.4958 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004691/0.778, allocations: 2.494 MB / 0.4983 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006355/0.7844, allocations: 0.7104 MB / 0.4989 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2536/1.038, allocations: 29.88 MB / 0.5281 GB, free: 151.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002712/1.041, allocations: 2.524 MB / 0.5306 GB, free: 150.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002188/1.043, allocations: 0.5842 MB / 0.5312 GB, free: 150.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/1.045, allocations: 1.257 MB / 0.5324 GB, free: 150.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/1.045, allocations: 0 / 0.5324 GB, free: 150.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/1.168, allocations: 67.67 MB / 0.5985 GB, free: 98.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.37, allocations: 11.92 kB / 0.5985 GB, free: 98.84 MB / 446.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