Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.002029/0.002029, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002211/0.002211, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2567, allocations: 50.54 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01389/0.2706, allocations: 11.86 MB / 420.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007201/0.2779, allocations: 3.825 MB / 424.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.2794, allocations: 71.69 kB / 424.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.2815, allocations: 0.8743 MB / 425.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.2845, allocations: 1.091 MB / 426.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2855, allocations: 0.4915 MB / 427 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004926/0.2904, allocations: 4.241 MB / 431.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00385/0.2943, allocations: 3.297 MB / 434.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.2969, allocations: 1.916 MB / 436.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/0.3, allocations: 2.335 MB / 438.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007053/0.3008, allocations: 0.4922 MB / 439.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.3018, allocations: 0.5936 MB / 439.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.3032, allocations: 1.395 MB / 441.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002519/0.3057, allocations: 2.213 MB / 443.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006926/0.3127, allocations: 6.587 MB / 450.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3127, allocations: 0 / 450.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3127, allocations: 0 / 450.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001263/0.3128, allocations: 3.938 kB / 450.1 MB, free: 8.016 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.008548/0.3214, allocations: 4.431 MB / 454.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3215, allocations: 8.031 kB / 454.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005979/0.3221, allocations: 442.6 kB / 454.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.3234, allocations: 490.2 kB / 455.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004248/0.3276, allocations: 2.427 MB / 457.8 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.3279, allocations: 234.2 kB / 458.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004799/0.3284, allocations: 307.9 kB / 458.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007138/0.3355, allocations: 4.369 MB / 462.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.76e-05/0.3356, allocations: 7.953 kB / 462.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.3359, allocations: 128 kB / 462.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.336, allocations: 134 kB / 463 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006316/0.3424, allocations: 3.779 MB / 466.8 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.3632, allocations: 13.42 MB / 480.2 MB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/0.3668, allocations: 2.895 MB / 483.1 MB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.3696, allocations: 1.684 MB / 484.8 MB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.3698, allocations: 122.4 kB / 484.9 MB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.3699, allocations: 51.88 kB / 484.9 MB, free: 4.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.188e-06/0.3699, allocations: 0 / 484.9 MB, free: 4.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01776/0.3877, allocations: 9.048 MB / 494 MB, free: 11.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3878, allocations: 73.41 kB / 494.1 MB, free: 11.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.3913, allocations: 2.374 MB / 496.4 MB, free: 8.633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.3915, allocations: 53.7 kB / 496.5 MB, free: 8.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.3927, allocations: 1.509 MB / 498 MB, free: 7.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005591/0.3932, allocations: 0.6313 MB / 498.6 MB, free: 6.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006043/0.3938, allocations: 367.5 kB / 499 MB, free: 6.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.394, allocations: 305.1 kB / 499.3 MB, free: 5.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.3958, allocations: 1.124 MB / 0.4887 GB, free: 4.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.3979, allocations: 1.567 MB / 0.4902 GB, free: 2.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003946/0.4018, allocations: 2.788 MB / 0.4929 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.4019, allocations: 4 kB / 0.4929 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006205/0.4081, allocations: 3.605 MB / 0.4965 GB, free: 12.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.4081, allocations: 11.94 kB / 0.4965 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.4082, allocations: 12 kB / 0.4965 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.4101, allocations: 0.8179 MB / 0.4973 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.4119, allocations: 455.3 kB / 0.4977 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.4237, allocations: 11.18 MB / 0.5086 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.4257, allocations: 131.9 kB / 0.5088 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.4259, allocations: 72 kB / 0.5088 GB, free: 14.89 MB / 446.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.002056/0.428, allocations: 1.094 MB / 0.5099 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006356/0.4286, allocations: 262.3 kB / 0.5101 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/0.4347, allocations: 3.301 MB / 0.5134 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.4347, allocations: 16 kB / 0.5134 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.4347, allocations: 8 kB / 0.5134 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.4348, allocations: 7.969 kB / 0.5134 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.4467, allocations: 6.856 MB / 0.5201 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.4467, allocations: 0 / 0.5201 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.448, allocations: 299.5 kB / 0.5204 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/0.4503, allocations: 0.9238 MB / 0.5213 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.4504, allocations: 43.97 kB / 0.5213 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.465, allocations: 14.63 MB / 0.5356 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4651, allocations: 4.031 kB / 0.5356 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2148/0.6799, allocations: 4.877 MB / 0.5404 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.6814, allocations: 0.5761 MB / 0.5409 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/0.6818, allocations: 34.95 kB / 0.541 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.6831, allocations: 123.6 kB / 0.5411 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004116/0.6835, allocations: 154.3 kB / 0.5412 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/0.6836, allocations: 53.48 kB / 0.5413 GB, free: 121.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001897/0.6855, allocations: 1.637 MB / 0.5429 GB, free: 121.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.6855, allocations: 0 / 0.5429 GB, free: 121.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001839/0.6874, allocations: 0.7057 MB / 0.5436 GB, free: 121.1 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.005921/0.6933, allocations: 5.534 MB / 0.549 GB, free: 118.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004022/0.6973, allocations: 3.596 MB / 0.5525 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.6974, allocations: 1.281 kB / 0.5525 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002661/0.7, allocations: 2.514 MB / 0.5549 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.7028, allocations: 0.729 MB / 0.5557 GB, free: 115.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03031/0.7331, allocations: 26.38 MB / 0.5814 GB, free: 89.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.7348, allocations: 2.525 MB / 0.5839 GB, free: 87.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001476/0.7363, allocations: 0.5906 MB / 0.5845 GB, free: 86.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.7375, allocations: 1.265 MB / 0.5857 GB, free: 85.15 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.7375, allocations: 3.828 kB / 0.5857 GB, free: 85.15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.8436, allocations: 66.93 MB / 0.6511 GB, free: 18.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.52, allocations: 11.34 kB / 0.6511 GB, free: 18.78 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches