Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 110 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 51.92 kB / 366.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 52.15 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007322/0.1129, allocations: 5.636 MB / 424.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.1165, allocations: 1.818 MB / 425.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000486/0.117, allocations: 23.94 kB / 426 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.1207, allocations: 1.621 MB / 427.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.1228, allocations: 0.7577 MB / 428.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.1235, allocations: 275.5 kB / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.1246, allocations: 0.8056 MB / 429.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.1258, allocations: 0.6612 MB / 430.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005144/0.1263, allocations: 358.7 kB / 430.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006362/0.1269, allocations: 0.4942 MB / 430.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.127, allocations: 80 kB / 431 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/0.1277, allocations: 235.9 kB / 431.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.1278, allocations: 183.2 kB / 431.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00042/0.1282, allocations: 421.9 kB / 431.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.1298, allocations: 1.175 MB / 433 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1298, allocations: 4 kB / 433 MB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1298, allocations: 0 / 433 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.1298, allocations: 0 / 433 MB, free: 13.99 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003522/0.1333, allocations: 1.368 MB / 434.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.1334, allocations: 8.031 kB / 434.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.24e-05/0.1334, allocations: 26.19 kB / 434.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.1336, allocations: 152.2 kB / 434.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/0.1382, allocations: 0.6482 MB / 435.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.139, allocations: 423.1 kB / 435.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/0.139, allocations: 78.38 kB / 435.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.1392, allocations: 100.3 kB / 435.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.1409, allocations: 0.9859 MB / 436.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.141, allocations: 3.984 kB / 436.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.141, allocations: 40 kB / 436.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1411, allocations: 24 kB / 436.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.1427, allocations: 0.9213 MB / 437.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004831/0.1475, allocations: 3.34 MB / 441.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.1501, allocations: 2.186 MB / 443.3 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.1505, allocations: 256.2 kB / 443.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.1507, allocations: 93.66 kB / 443.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.1507, allocations: 43.05 kB / 443.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.495e-06/0.1507, allocations: 4 kB / 443.7 MB, free: 2.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00143/0.1521, allocations: 0.7173 MB / 444.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.1522, allocations: 111.4 kB / 444.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.1525, allocations: 270.5 kB / 444.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.1526, allocations: 41.7 kB / 444.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.1528, allocations: 391.9 kB / 445.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.153, allocations: 238.2 kB / 445.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.1532, allocations: 138.6 kB / 445.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1534, allocations: 350.8 kB / 445.9 MB, free: 352 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.1538, allocations: 221.9 kB / 446.1 MB, free: 128 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1867/0.3405, allocations: 435.6 kB / 446.5 MB, free: 29.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.3414, allocations: 0.7013 MB / 447.2 MB, free: 29.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3414, allocations: 3.219 kB / 447.2 MB, free: 29.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001156/0.3426, allocations: 0.7438 MB / 448 MB, free: 29.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.3426, allocations: 9.312 kB / 448 MB, free: 29.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3426, allocations: 13.05 kB / 448 MB, free: 29.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.3426, allocations: 9.375 kB / 448 MB, free: 29.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/0.3433, allocations: 190.8 kB / 448.2 MB, free: 29.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.3433, allocations: 19.69 kB / 448.2 MB, free: 29.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.3437, allocations: 79.98 kB / 448.3 MB, free: 29.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.3437, allocations: 36.38 kB / 448.3 MB, free: 29.27 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.0002653/0.344, allocations: 218.4 kB / 448.6 MB, free: 29.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3441, allocations: 45.33 kB / 448.6 MB, free: 29.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3452, allocations: 0.6386 MB / 449.2 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.3452, allocations: 8.5 kB / 449.2 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3452, allocations: 0 / 449.2 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.3452, allocations: 12.5 kB / 449.3 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.3471, allocations: 1.476 MB / 450.7 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3471, allocations: 0 / 450.7 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.3476, allocations: 139.3 kB / 450.9 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.3476, allocations: 3.781 kB / 450.9 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.3477, allocations: 17.36 kB / 450.9 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3477, allocations: 6.469 kB / 450.9 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3477, allocations: 1.344 kB / 450.9 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3491, allocations: 1.12 MB / 452 MB, free: 28.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.3491, allocations: 125.2 kB / 452.1 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.3492, allocations: 16.62 kB / 452.2 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.3495, allocations: 24.61 kB / 452.2 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.3496, allocations: 39.11 kB / 452.2 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.3497, allocations: 25.94 kB / 452.2 MB, free: 28.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3498, allocations: 188.1 kB / 452.4 MB, free: 28.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3498, allocations: 0 / 452.4 MB, free: 28.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007102/0.3505, allocations: 223.9 kB / 452.6 MB, free: 28.17 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.001861/0.3524, allocations: 1.71 MB / 454.4 MB, free: 26.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.3534, allocations: 0.5675 MB / 454.9 MB, free: 26.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3534, allocations: 0 / 454.9 MB, free: 26.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.3539, allocations: 271.8 kB / 455.2 MB, free: 26.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.3544, allocations: 42.22 kB / 455.2 MB, free: 26.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/0.3604, allocations: 4.838 MB / 460.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.3608, allocations: 0.9049 MB / 461 MB, free: 22.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002986/0.3611, allocations: 77.02 kB / 461 MB, free: 22.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.3614, allocations: 257.8 kB / 461.3 MB, free: 22.54 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3614, allocations: 0.5625 kB / 461.3 MB, free: 22.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.3923, allocations: 9.676 MB / 471 MB, free: 20.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/8.974, allocations: 6.922 kB / 471 MB, free: 20.48 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 11.779114512028173]