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.0008556/0.0008556, allocations: 91.3 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 202 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.172/1.172, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001765/0.0001766, allocations: 4 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07141/0.0716, allocations: 51.53 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1396/0.2112, allocations: 26.73 MB / 386.1 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009944/0.2212, allocations: 7.095 MB / 393.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.2233, allocations: 240.8 kB / 393.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.2261, allocations: 1.956 MB / 395.4 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004835/0.2309, allocations: 2.245 MB / 397.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.2343, allocations: 1.889 MB / 399.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01455/0.2489, allocations: 17.6 MB / 417.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05465/0.3035, allocations: 43.6 MB / 460.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008316/0.3119, allocations: 6.796 MB / 467.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008158/0.32, allocations: 8.122 MB / 475.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.3214, allocations: 1.145 MB / 476.8 MB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.324, allocations: 1.422 MB / 478.2 MB, free: 4.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00208/0.3261, allocations: 3.273 MB / 481.5 MB, free: 1.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00638/0.3325, allocations: 8.391 MB / 489.9 MB, free: 8.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02419/0.3567, allocations: 36.67 MB / 0.5142 GB, free: 4.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3567, allocations: 0 / 0.5142 GB, free: 4.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3567, allocations: 0 / 0.5142 GB, free: 4.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004934/0.3572, allocations: 0 / 0.5142 GB, free: 4.035 MB / 430.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.03668/0.3939, allocations: 18.08 MB / 0.5319 GB, free: 1.832 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3939, allocations: 12.03 kB / 0.5319 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2618/0.6557, allocations: 2.951 MB / 0.5348 GB, free: 115.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03909/0.6948, allocations: 8.392 MB / 0.5429 GB, free: 114.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01787/0.7127, allocations: 11.3 MB / 0.554 GB, free: 108.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008264/0.7136, allocations: 1.341 MB / 0.5553 GB, free: 107.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00444/0.718, allocations: 1.746 MB / 0.557 GB, free: 107.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04214/0.7601, allocations: 28.77 MB / 0.5851 GB, free: 83.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000284/0.7605, allocations: 23.75 kB / 0.5851 GB, free: 83.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001532/0.762, allocations: 0.7238 MB / 0.5858 GB, free: 82.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000452/0.7625, allocations: 0.8649 MB / 0.5867 GB, free: 81.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03098/0.7934, allocations: 24.83 MB / 0.6109 GB, free: 57.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08938/0.8828, allocations: 88.64 MB / 0.6975 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2828/1.166, allocations: 35.16 MB / 0.7318 GB, free: 152.3 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007742/1.173, allocations: 5.343 MB / 0.737 GB, free: 151.8 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/1.174, allocations: 287 kB / 0.7373 GB, free: 151.6 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/1.174, allocations: 98.59 kB / 0.7374 GB, free: 151.5 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=589): time 7.755e-06/1.174, allocations: 4.656 kB / 0.7374 GB, free: 151.5 MB / 0.4983 GB Notification: Performance of matching and sorting (n=589): time 0.02728/1.201, allocations: 14.86 MB / 0.7519 GB, free: 146.8 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/1.201, allocations: 140.8 kB / 0.7521 GB, free: 146.7 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006353/1.208, allocations: 6.416 MB / 0.7583 GB, free: 144.6 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.0002741/1.208, allocations: 117.3 kB / 0.7584 GB, free: 144.4 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.002599/1.21, allocations: 7.602 MB / 0.7659 GB, free: 139 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.212, allocations: 2.051 MB / 0.7679 GB, free: 137.4 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007887/1.212, allocations: 0.8195 MB / 0.7687 GB, free: 137.1 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 3.23e-05/1.212, allocations: 305.1 kB / 0.7689 GB, free: 136.8 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004816/1.217, allocations: 4.811 MB / 0.7736 GB, free: 135 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006165/1.223, allocations: 9.555 MB / 0.783 GB, free: 127 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.235, allocations: 15.46 MB / 0.7981 GB, free: 115.8 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.34e-05/1.235, allocations: 45.44 kB / 0.7981 GB, free: 115.8 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.0158/1.251, allocations: 15.54 MB / 0.8133 GB, free: 102 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/1.251, allocations: 75.94 kB / 0.8134 GB, free: 102 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.389e-05/1.251, allocations: 160 kB / 0.8135 GB, free: 101.8 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004211/1.255, allocations: 1.665 MB / 0.8151 GB, free: 100.1 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005521/1.261, allocations: 2.351 MB / 0.8174 GB, free: 97.77 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009928/1.271, allocations: 10.86 MB / 0.828 GB, free: 86.79 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/1.275, allocations: 1.354 MB / 0.8294 GB, free: 85.43 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004884/1.276, allocations: 0.5273 MB / 0.8299 GB, free: 84.9 MB / 0.4983 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.006744/1.283, allocations: 7.153 MB / 0.8369 GB, free: 77.73 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006444/1.283, allocations: 0.6172 MB / 0.8375 GB, free: 77.1 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.294, allocations: 10.28 MB / 0.8475 GB, free: 66.73 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007966/1.302, allocations: 7.935 MB / 0.8553 GB, free: 58.71 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/1.302, allocations: 12.88 kB / 0.8553 GB, free: 58.7 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/1.302, allocations: 27.89 kB / 0.8553 GB, free: 58.67 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/1.329, allocations: 26.5 MB / 0.8812 GB, free: 31.67 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/1.329, allocations: 8 kB / 0.8812 GB, free: 31.66 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003099/1.332, allocations: 1.003 MB / 0.8822 GB, free: 30.66 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003957/1.336, allocations: 1.477 MB / 0.8836 GB, free: 29.18 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/1.336, allocations: 128 kB / 0.8837 GB, free: 29.05 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00971/1.346, allocations: 10.43 MB / 0.8939 GB, free: 18.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.346, allocations: 8 kB / 0.8939 GB, free: 18.49 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.359, allocations: 14.39 MB / 0.908 GB, free: 3.754 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1567/1.516, allocations: 1.459 MB / 0.9094 GB, free: 145.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/1.517, allocations: 112 kB / 0.9095 GB, free: 145.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/1.52, allocations: 322.3 kB / 0.9098 GB, free: 145.1 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007269/1.52, allocations: 403.1 kB / 0.9102 GB, free: 145.1 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000307/1.521, allocations: 170.2 kB / 0.9104 GB, free: 145.1 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.005345/1.526, allocations: 4.307 MB / 0.9146 GB, free: 144.9 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/1.526, allocations: 0 / 0.9146 GB, free: 144.9 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.008055/1.534, allocations: 4.033 MB / 0.9185 GB, free: 144.4 MB / 0.4983 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.01508/1.549, allocations: 15.18 MB / 0.9333 GB, free: 137.8 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.561, allocations: 11.5 MB / 0.9446 GB, free: 133.5 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/1.561, allocations: 7.469 kB / 0.9446 GB, free: 133.5 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.004584/1.565, allocations: 4.739 MB / 0.9492 GB, free: 131.6 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/1.576, allocations: 1.476 MB / 0.9506 GB, free: 131.2 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1121/1.688, allocations: 121.1 MB / 1.069 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007572/1.696, allocations: 11.26 MB / 1.08 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.007674/1.703, allocations: 3.767 MB / 1.084 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005946/1.709, allocations: 5.881 MB / 1.089 GB, free: 8.078 MB / 0.5139 GB Notification: Performance of SimCode: time 1.272e-06/1.709, allocations: 0 / 1.089 GB, free: 8.078 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.41/13.12, allocations: 203.2 MB / 1.288 GB, free: 172.5 MB / 0.5295 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/13.12, allocations: 289.7 kB / 1.288 GB, free: 172.1 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.069/19.19, allocations: 2.719 kB / 1.288 GB, free: 172.1 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