Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62 kB / 306.4 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/0.08744, allocations: 50.52 MB / 356.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1742/0.2616, allocations: 28.04 MB / 384.9 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.2755, allocations: 7.141 MB / 392.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006523/0.282, allocations: 253.1 kB / 392.3 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02596/0.308, allocations: 12.44 MB / 404.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.3186, allocations: 2.25 MB / 407 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006102/0.3247, allocations: 1.919 MB / 408.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02024/0.3449, allocations: 17.59 MB / 426.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05998/0.405, allocations: 37.21 MB / 463.7 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01586/0.4209, allocations: 8.722 MB / 472.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01689/0.4378, allocations: 10.65 MB / 483.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005997/0.4438, allocations: 2.074 MB / 485.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007281/0.4511, allocations: 2.347 MB / 487.5 MB, free: 9.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005185/0.4563, allocations: 4.604 MB / 492.1 MB, free: 5.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01673/0.4731, allocations: 9.932 MB / 0.4903 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03952/0.5126, allocations: 38.27 MB / 0.5277 GB, free: 4.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.5127, allocations: 0 / 0.5277 GB, free: 4.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5127, allocations: 0 / 0.5277 GB, free: 4.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001158/0.5138, allocations: 0 / 0.5277 GB, free: 4.668 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.4262/0.9401, allocations: 22.05 MB / 0.5492 GB, free: 91.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.9401, allocations: 9.719 kB / 0.5492 GB, free: 91.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009948/0.9501, allocations: 2.959 MB / 0.5521 GB, free: 89.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04256/0.9927, allocations: 8.356 MB / 0.5602 GB, free: 83.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/1.013, allocations: 11.27 MB / 0.5713 GB, free: 72.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/1.014, allocations: 1.335 MB / 0.5726 GB, free: 71.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006711/1.021, allocations: 1.752 MB / 0.5743 GB, free: 69.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06104/1.082, allocations: 28.77 MB / 0.6024 GB, free: 40.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005939/1.083, allocations: 23.8 kB / 0.6024 GB, free: 40.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005204/1.088, allocations: 0.7316 MB / 0.6031 GB, free: 39.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006277/1.089, allocations: 0.861 MB / 0.6039 GB, free: 38.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04391/1.132, allocations: 24.83 MB / 0.6282 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1324/1.265, allocations: 88.41 MB / 0.7145 GB, free: 5.266 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3587/1.624, allocations: 35.19 MB / 0.7489 GB, free: 173.9 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008663/1.632, allocations: 5.375 MB / 0.7541 GB, free: 173.9 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/1.633, allocations: 292.9 kB / 0.7544 GB, free: 173.7 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/1.633, allocations: 94.67 kB / 0.7545 GB, free: 173.6 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=589): time 8.035e-06/1.633, allocations: 0 / 0.7545 GB, free: 173.6 MB / 0.5295 GB Notification: Performance of matching and sorting (n=589): time 0.03126/1.664, allocations: 14.82 MB / 0.769 GB, free: 169 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/1.664, allocations: 146.5 kB / 0.7691 GB, free: 168.9 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00719/1.672, allocations: 6.416 MB / 0.7754 GB, free: 166.8 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005141/1.672, allocations: 117.4 kB / 0.7755 GB, free: 166.7 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002975/1.675, allocations: 7.6 MB / 0.7829 GB, free: 161.3 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001479/1.677, allocations: 2.051 MB / 0.7849 GB, free: 159.7 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002331/1.679, allocations: 2.094 MB / 0.787 GB, free: 158.7 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 5.997e-05/1.679, allocations: 309 kB / 0.7873 GB, free: 158.4 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005746/1.685, allocations: 4.812 MB / 0.792 GB, free: 156.6 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007039/1.692, allocations: 9.548 MB / 0.8013 GB, free: 148.6 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/1.705, allocations: 15.46 MB / 0.8164 GB, free: 136.3 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/1.705, allocations: 48 kB / 0.8164 GB, free: 136.3 MB / 0.5295 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02008/1.725, allocations: 15.54 MB / 0.8316 GB, free: 122.6 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.726, allocations: 75.94 kB / 0.8317 GB, free: 122.5 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002982/1.726, allocations: 160 kB / 0.8318 GB, free: 122.4 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004804/1.731, allocations: 1.659 MB / 0.8335 GB, free: 121.1 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007/1.738, allocations: 2.359 MB / 0.8358 GB, free: 118.8 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/1.749, allocations: 10.84 MB / 0.8463 GB, free: 107.8 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007056/1.756, allocations: 1.354 MB / 0.8477 GB, free: 106.4 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.758, allocations: 0.5312 MB / 0.8482 GB, free: 105.9 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1249): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0106/1.769, allocations: 7.149 MB / 0.8552 GB, free: 98.72 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/1.77, allocations: 0.6133 MB / 0.8558 GB, free: 98.1 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.782, allocations: 10.29 MB / 0.8658 GB, free: 87.72 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009109/1.792, allocations: 7.928 MB / 0.8736 GB, free: 79.71 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/1.792, allocations: 12 kB / 0.8736 GB, free: 79.7 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.001e-05/1.792, allocations: 31.83 kB / 0.8736 GB, free: 79.67 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03218/1.824, allocations: 26.48 MB / 0.8995 GB, free: 52.68 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/1.824, allocations: 11.75 kB / 0.8995 GB, free: 52.67 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00348/1.827, allocations: 1.014 MB / 0.9005 GB, free: 51.66 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004746/1.832, allocations: 1.467 MB / 0.9019 GB, free: 50.18 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003708/1.833, allocations: 124 kB / 0.902 GB, free: 50.06 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.844, allocations: 10.4 MB / 0.9122 GB, free: 39.54 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.844, allocations: 15.94 kB / 0.9122 GB, free: 39.53 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/1.859, allocations: 14.38 MB / 0.9262 GB, free: 24.8 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/1.862, allocations: 1.448 MB / 0.9276 GB, free: 23.32 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006978/1.863, allocations: 104.1 kB / 0.9277 GB, free: 23.22 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/1.865, allocations: 331.6 kB / 0.9281 GB, free: 22.89 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006727/1.866, allocations: 400.4 kB / 0.9284 GB, free: 22.5 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003002/1.866, allocations: 172 kB / 0.9286 GB, free: 22.33 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.004931/1.871, allocations: 4.305 MB / 0.9328 GB, free: 18.06 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.052e-06/1.871, allocations: 0 / 0.9328 GB, free: 18.06 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.009516/1.881, allocations: 4.044 MB / 0.9368 GB, free: 14 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (534): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2085/2.089, allocations: 15.16 MB / 0.9516 GB, free: 176.1 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.01886/2.108, allocations: 11.51 MB / 0.9628 GB, free: 174.2 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/2.108, allocations: 5.344 kB / 0.9628 GB, free: 174.2 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.007532/2.116, allocations: 4.737 MB / 0.9674 GB, free: 172.3 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007009/2.123, allocations: 1.476 MB / 0.9689 GB, free: 171.8 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1536/2.276, allocations: 121 MB / 1.087 GB, free: 69.18 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/2.291, allocations: 11.26 MB / 1.098 GB, free: 57.88 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.008688/2.299, allocations: 3.77 MB / 1.102 GB, free: 54.09 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006364/2.306, allocations: 5.884 MB / 1.107 GB, free: 48.21 MB / 0.5295 GB Notification: Performance of SimCode: time 9.92e-07/2.306, allocations: 0 / 1.107 GB, free: 48.21 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.406/2.712, allocations: 205.8 MB / 1.308 GB, free: 47.02 MB / 0.5295 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/2.712, allocations: 304 kB / 1.309 GB, free: 46.63 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.536/8.248, allocations: 0 / 1.309 GB, free: 46.63 MB / 0.5295 GB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches