Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 117.3 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.001276/0.001276, allocations: 198 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.416/1.416, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 63.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2353, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01549/0.2509, allocations: 12.89 MB / 421.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008514/0.2594, allocations: 4.268 MB / 425.9 MB, free: 316 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.2614, allocations: 83.62 kB / 426 MB, free: 232 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.2639, allocations: 0.9664 MB / 427 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.2671, allocations: 1.18 MB / 428.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.2683, allocations: 0.5188 MB / 428.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005264/0.2736, allocations: 4.661 MB / 433.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.2779, allocations: 3.69 MB / 437 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.2814, allocations: 2.126 MB / 439.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.285, allocations: 2.565 MB / 441.7 MB, free: 428 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008276/0.2858, allocations: 0.5508 MB / 442.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.2871, allocations: 0.6599 MB / 442.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.2886, allocations: 1.512 MB / 444.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002889/0.2915, allocations: 2.489 MB / 446.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008316/0.2998, allocations: 7.455 MB / 454.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.2998, allocations: 7.938 kB / 454.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2998, allocations: 0 / 454.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001906/0.3, allocations: 0 / 454.4 MB, free: 3.703 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01082/0.3109, allocations: 4.835 MB / 459.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3109, allocations: 8.031 kB / 459.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009286/0.3119, allocations: 0.502 MB / 459.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.3137, allocations: 0.5487 MB / 460.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005288/0.319, allocations: 2.6 MB / 462.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.3193, allocations: 267 kB / 463.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000656/0.3199, allocations: 363.9 kB / 463.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008674/0.3286, allocations: 5.025 MB / 468.5 MB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.163e-05/0.3287, allocations: 11.95 kB / 468.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/0.329, allocations: 140 kB / 468.7 MB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001955/0.3292, allocations: 183.1 kB / 468.9 MB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008003/0.3373, allocations: 4.298 MB / 473.2 MB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02963/0.3669, allocations: 14.75 MB / 487.9 MB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005519/0.3725, allocations: 4.202 MB / 492.1 MB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003619/0.3761, allocations: 1.995 MB / 494.1 MB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.3765, allocations: 131.1 kB / 494.2 MB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.3765, allocations: 57.03 kB / 494.3 MB, free: 10.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 7.844e-06/0.3766, allocations: 0 / 494.3 MB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02238/0.3989, allocations: 10.02 MB / 0.4925 GB, free: 0.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.3991, allocations: 73.41 kB / 0.4926 GB, free: 0.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004946/0.404, allocations: 2.518 MB / 0.495 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.4043, allocations: 69.64 kB / 0.4951 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.4059, allocations: 1.658 MB / 0.4967 GB, free: 12.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008649/0.4067, allocations: 0.7669 MB / 0.4974 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000884/0.4076, allocations: 416.5 kB / 0.4978 GB, free: 11.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4078, allocations: 305.1 kB / 0.4981 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.4101, allocations: 1.297 MB / 0.4994 GB, free: 9.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.4128, allocations: 1.779 MB / 0.5011 GB, free: 7.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00508/0.4179, allocations: 3.211 MB / 0.5043 GB, free: 4.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-05/0.4179, allocations: 7.938 kB / 0.5043 GB, free: 4.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007817/0.4258, allocations: 4.084 MB / 0.5083 GB, free: 156 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.4258, allocations: 8 kB / 0.5083 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.4258, allocations: 16.47 kB / 0.5083 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002984/0.4288, allocations: 0.8833 MB / 0.5092 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/0.431, allocations: 0.5227 MB / 0.5097 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.4425, allocations: 9.485 MB / 0.5189 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.4446, allocations: 119.9 kB / 0.519 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/0.4449, allocations: 83.94 kB / 0.5191 GB, free: 4.605 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002435/0.4474, allocations: 1.231 MB / 0.5203 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008178/0.4482, allocations: 298.1 kB / 0.5206 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00715/0.4554, allocations: 3.707 MB / 0.5242 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.4554, allocations: 24 kB / 0.5243 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.4554, allocations: 4 kB / 0.5243 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.312e-05/0.4555, allocations: 19.89 kB / 0.5243 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.4712, allocations: 8.006 MB / 0.5321 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.4712, allocations: 4 kB / 0.5321 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.4729, allocations: 387.8 kB / 0.5325 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/0.4761, allocations: 0.933 MB / 0.5334 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.4763, allocations: 59.97 kB / 0.5334 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2307/0.707, allocations: 11.09 MB / 0.5443 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.707, allocations: 3.906 kB / 0.5443 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007923/0.7149, allocations: 5.524 MB / 0.5497 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/0.7165, allocations: 0.6478 MB / 0.5503 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005043/0.717, allocations: 49.31 kB / 0.5504 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.7185, allocations: 114.6 kB / 0.5505 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004799/0.719, allocations: 186.6 kB / 0.5506 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.7191, allocations: 60.03 kB / 0.5507 GB, free: 117.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002344/0.7215, allocations: 1.739 MB / 0.5524 GB, free: 116.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7215, allocations: 3.875 kB / 0.5524 GB, free: 116.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002921/0.7244, allocations: 0.7894 MB / 0.5532 GB, free: 116.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,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.008763/0.7332, allocations: 6.23 MB / 0.5593 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00571/0.739, allocations: 3.891 MB / 0.5631 GB, free: 109.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.739, allocations: 4 kB / 0.5631 GB, free: 109.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/0.7426, allocations: 2.484 MB / 0.5655 GB, free: 106.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/0.7469, allocations: 0.7918 MB / 0.5663 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0415/0.7884, allocations: 29.64 MB / 0.5952 GB, free: 75.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/0.7907, allocations: 2.777 MB / 0.5979 GB, free: 73.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002146/0.7929, allocations: 0.679 MB / 0.5986 GB, free: 72.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/0.795, allocations: 1.417 MB / 0.6 GB, free: 71.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.795, allocations: 4 kB / 0.6 GB, free: 71.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/0.9341, allocations: 73.77 MB / 0.672 GB, free: 13.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/16.03, allocations: 10.42 kB / 0.672 GB, free: 13.9 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches