Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 109.1 kB / 21.22 MB, free: 0.7461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002198/0.002198, allocations: 215.7 kB / 24.53 MB, free: 4.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 59.84 kB / 378.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2797, allocations: 53.4 MB / 432 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007352/0.2871, allocations: 5.673 MB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.291, allocations: 1.9 MB / 439.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.2914, allocations: 16 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003737/0.2952, allocations: 1.621 MB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.2969, allocations: 0.6172 MB / 441.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.2978, allocations: 399 kB / 442.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.299, allocations: 0.8016 MB / 443 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.3004, allocations: 0.7624 MB / 443.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006505/0.301, allocations: 378.6 kB / 444.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008307/0.3019, allocations: 490.2 kB / 444.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.3021, allocations: 80 kB / 444.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007494/0.3028, allocations: 247.8 kB / 444.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.3031, allocations: 183.4 kB / 445.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006369/0.3037, allocations: 417.9 kB / 445.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.3056, allocations: 1.183 MB / 446.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3057, allocations: 3.984 kB / 446.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3057, allocations: 0 / 446.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.016e-05/0.3057, allocations: 0 / 446.7 MB, free: 7.918 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003837/0.3095, allocations: 1.297 MB / 448 MB, free: 6.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.3096, allocations: 12.03 kB / 448 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.431e-05/0.3096, allocations: 26.19 kB / 448 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/0.3099, allocations: 148.3 kB / 448.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.3144, allocations: 0.6209 MB / 448.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.3153, allocations: 364.1 kB / 449.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.3154, allocations: 70.38 kB / 449.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.3155, allocations: 96.38 kB / 449.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.3176, allocations: 0.9898 MB / 450.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.3176, allocations: 3.938 kB / 450.3 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.948e-05/0.3177, allocations: 40 kB / 450.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.3177, allocations: 24 kB / 450.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.3195, allocations: 0.9292 MB / 451.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005011/0.3245, allocations: 3.178 MB / 454.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.3263, allocations: 0.757 MB / 455.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.3268, allocations: 259.8 kB / 455.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.3269, allocations: 32.53 kB / 455.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3269, allocations: 43.16 kB / 455.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.515e-06/0.3269, allocations: 0 / 455.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001419/0.3283, allocations: 0.7282 MB / 456.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.3284, allocations: 115.4 kB / 456.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.3288, allocations: 265.8 kB / 456.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.3289, allocations: 37.7 kB / 456.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.3291, allocations: 395.9 kB / 457.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.3293, allocations: 234 kB / 457.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.3295, allocations: 138.6 kB / 457.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3297, allocations: 346.8 kB / 457.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.3301, allocations: 229.9 kB / 458 MB, free: 12.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.3307, allocations: 435.4 kB / 458.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3317, allocations: 0.6969 MB / 459.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.3317, allocations: 4 kB / 459.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001336/0.3331, allocations: 0.7587 MB / 459.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3331, allocations: 16.14 kB / 459.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3331, allocations: 8 kB / 459.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.3331, allocations: 12 kB / 459.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.3338, allocations: 187.7 kB / 460.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.3339, allocations: 12 kB / 460.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.3343, allocations: 87.39 kB / 460.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.3343, allocations: 35.98 kB / 460.2 MB, free: 9.855 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.3346, allocations: 221.6 kB / 460.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3348, allocations: 39.7 kB / 460.5 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.3361, allocations: 0.65 MB / 461.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3361, allocations: 11.94 kB / 461.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3361, allocations: 0 / 461.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3361, allocations: 3.984 kB / 461.2 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.3387, allocations: 1.459 MB / 462.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3387, allocations: 0 / 462.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.3393, allocations: 139.8 kB / 462.8 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.3393, allocations: 4 kB / 462.8 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.3393, allocations: 27.94 kB / 462.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.3393, allocations: 7.984 kB / 462.8 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3393, allocations: 4 kB / 462.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.3411, allocations: 1.116 MB / 463.9 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3412, allocations: 55.72 kB / 464 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.3412, allocations: 15.94 kB / 464 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.3416, allocations: 16 kB / 464 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3417, allocations: 48.56 kB / 464 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.3418, allocations: 23.98 kB / 464.1 MB, free: 5.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.342, allocations: 181.2 kB / 464.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.342, allocations: 0 / 464.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008136/0.3428, allocations: 231.3 kB / 464.5 MB, free: 5.535 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002232/0.345, allocations: 1.711 MB / 466.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.3462, allocations: 0.5715 MB / 466.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3462, allocations: 5.75 kB / 466.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.3467, allocations: 267.6 kB / 467 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.3472, allocations: 48.55 kB / 467.1 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007359/0.3546, allocations: 4.851 MB / 471.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.3552, allocations: 0.9005 MB / 472.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.3555, allocations: 80.38 kB / 472.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/0.3559, allocations: 255.4 kB / 473.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3559, allocations: 4 kB / 473.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.3941, allocations: 10.37 MB / 483.5 MB, free: 2.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.11, allocations: 17.66 kB / 483.5 MB, free: 2.285 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.042640439001843]