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.001465/0.001465, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.33 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.09086, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0142/0.1051, allocations: 11.84 MB / 369.4 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1754/0.2805, allocations: 3.829 MB / 373.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.2825, allocations: 75.69 kB / 373.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.2856, allocations: 0.8668 MB / 374.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.289, allocations: 1.088 MB / 375.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.2902, allocations: 0.4914 MB / 375.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004651/0.2948, allocations: 4.223 MB / 380 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/0.2985, allocations: 3.301 MB / 383.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.3024, allocations: 1.913 MB / 385.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005533/0.308, allocations: 2.331 MB / 387.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003268/0.3113, allocations: 0.4974 MB / 388.1 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.315, allocations: 0.5916 MB / 388.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002891/0.3179, allocations: 1.396 MB / 390 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003636/0.3215, allocations: 2.217 MB / 392.3 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005983/0.3275, allocations: 6.504 MB / 398.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3276, allocations: 3.938 kB / 398.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3276, allocations: 4 kB / 398.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.3277, allocations: 0 / 398.8 MB, free: 14.86 MB / 318.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.009403/0.3371, allocations: 4.311 MB / 403.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3372, allocations: 8.031 kB / 403.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006127/0.3378, allocations: 445.5 kB / 403.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.3392, allocations: 472 kB / 404 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/0.343, allocations: 2.34 MB / 406.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.3432, allocations: 237.4 kB / 406.6 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004439/0.3437, allocations: 307.9 kB / 406.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007496/0.3512, allocations: 4.371 MB / 411.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.317e-05/0.3513, allocations: 7.938 kB / 411.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.3516, allocations: 124 kB / 411.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.3518, allocations: 134 kB / 411.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0066/0.3584, allocations: 3.771 MB / 415.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.3844, allocations: 13.53 MB / 428.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/0.3889, allocations: 2.898 MB / 431.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.3922, allocations: 1.679 MB / 433.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/0.3926, allocations: 132.6 kB / 433.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.226e-05/0.3927, allocations: 55.81 kB / 433.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=164): time 5.03e-06/0.3927, allocations: 3.938 kB / 433.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.02114/0.4138, allocations: 8.991 MB / 442.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.4139, allocations: 69.41 kB / 442.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005118/0.4191, allocations: 2.362 MB / 445 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004818/0.4196, allocations: 57.7 kB / 445 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.4211, allocations: 1.484 MB / 446.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008075/0.4219, allocations: 0.6055 MB / 447.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009818/0.4229, allocations: 367.2 kB / 447.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4231, allocations: 309.1 kB / 447.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.4253, allocations: 1.124 MB / 448.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.4276, allocations: 1.573 MB / 450.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004313/0.4319, allocations: 2.78 MB / 453.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/0.4319, allocations: 4 kB / 453.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006716/0.4386, allocations: 3.588 MB / 456.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.4387, allocations: 15.47 kB / 456.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.4387, allocations: 15.94 kB / 456.9 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.4408, allocations: 0.8136 MB / 457.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.4426, allocations: 459.3 kB / 458.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.4548, allocations: 11.18 MB / 469.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.4571, allocations: 123.9 kB / 469.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/0.4575, allocations: 80 kB / 469.5 MB, free: 7.352 MB / 382.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.002233/0.4597, allocations: 1.106 MB / 470.6 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007308/0.4604, allocations: 245 kB / 470.9 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005881/0.4663, allocations: 3.305 MB / 474.2 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.4664, allocations: 16 kB / 474.2 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.4664, allocations: 8 kB / 474.2 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.4664, allocations: 7.969 kB / 474.2 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.479, allocations: 6.895 MB / 481.1 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.479, allocations: 0 / 481.1 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.4803, allocations: 291.6 kB / 481.4 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00246/0.4828, allocations: 0.9342 MB / 482.3 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.483, allocations: 39.98 kB / 482.4 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.4977, allocations: 14.62 MB / 497 MB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.4978, allocations: 7.969 kB / 497 MB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009738/0.5076, allocations: 4.857 MB / 0.4901 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002165/0.5098, allocations: 0.5682 MB / 0.4906 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/0.5109, allocations: 39.98 kB / 0.4907 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/0.5128, allocations: 119.8 kB / 0.4908 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/0.5133, allocations: 157.7 kB / 0.4909 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.5135, allocations: 47.98 kB / 0.491 GB, free: 4.891 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003393/0.5169, allocations: 1.637 MB / 0.4926 GB, free: 3.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.5169, allocations: 0 / 0.4926 GB, free: 3.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003721/0.5206, allocations: 0.7109 MB / 0.4933 GB, free: 2.527 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.008528/0.5292, allocations: 5.514 MB / 0.4987 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009181/0.5384, allocations: 4.862 MB / 0.5034 GB, free: 7.969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.5384, allocations: 4 kB / 0.5034 GB, free: 7.965 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00394/0.5424, allocations: 2.504 MB / 0.5059 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004747/0.5471, allocations: 0.7303 MB / 0.5066 GB, free: 4.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2118/0.7589, allocations: 29.97 MB / 0.5358 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002587/0.7616, allocations: 2.522 MB / 0.5383 GB, free: 139.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001986/0.7636, allocations: 0.587 MB / 0.5389 GB, free: 139.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/0.7652, allocations: 1.266 MB / 0.5401 GB, free: 138.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7652, allocations: 0 / 0.5401 GB, free: 138.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1446/0.9098, allocations: 67.95 MB / 0.6065 GB, free: 83.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.7, allocations: 4.062 kB / 0.6065 GB, free: 83.5 MB / 446.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.0.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