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.001381/0.001381, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.002134/0.002134, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.499/1.499, allocations: 230.5 MB / 254.7 MB, free: 15.2 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.001875/0.001875, allocations: 63.91 kB / 373.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1242, allocations: 53.37 MB / 427.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.008066/0.1323, allocations: 5.654 MB / 432.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.1363, allocations: 1.888 MB / 434.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008512/0.1372, allocations: 16 kB / 434.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004028/0.1412, allocations: 1.623 MB / 436.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.1432, allocations: 0.5983 MB / 436.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1443, allocations: 413.9 kB / 437.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.1458, allocations: 0.7978 MB / 438 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.1472, allocations: 0.6651 MB / 438.7 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.1479, allocations: 370.6 kB / 439.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007839/0.1486, allocations: 490.2 kB / 439.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.1489, allocations: 84 kB / 439.6 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008541/0.1497, allocations: 243.8 kB / 439.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.15, allocations: 187.4 kB / 440 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006566/0.1507, allocations: 421.9 kB / 440.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.1528, allocations: 1.175 MB / 441.6 MB, free: 6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1528, allocations: 0 / 441.6 MB, free: 6 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1528, allocations: 0 / 441.6 MB, free: 6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.621e-05/0.1528, allocations: 0 / 441.6 MB, free: 6 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.00413/0.1569, allocations: 1.376 MB / 443 MB, free: 4.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.157, allocations: 16.03 kB / 443 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.01e-05/0.157, allocations: 26.19 kB / 443 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002228/0.1573, allocations: 144.3 kB / 443.2 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.162, allocations: 0.6209 MB / 443.8 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008845/0.1629, allocations: 419.2 kB / 444.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/0.1629, allocations: 70.38 kB / 444.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.1632, allocations: 96.38 kB / 444.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.165, allocations: 0.9937 MB / 445.4 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.165, allocations: 4 kB / 445.4 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.1651, allocations: 43.98 kB / 445.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.1651, allocations: 24 kB / 445.4 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.1668, allocations: 0.9331 MB / 446.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2118/0.3786, allocations: 3.424 MB / 449.8 MB, free: 22.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.3805, allocations: 2.182 MB / 452 MB, free: 20.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.3809, allocations: 264.1 kB / 452.2 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.3811, allocations: 182.6 kB / 452.4 MB, free: 20.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.3811, allocations: 41.88 kB / 452.5 MB, free: 20.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.815e-06/0.3811, allocations: 1.219 kB / 452.5 MB, free: 20.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001402/0.3825, allocations: 0.7216 MB / 453.2 MB, free: 19.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3825, allocations: 112.1 kB / 453.3 MB, free: 19.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.3828, allocations: 270.4 kB / 453.6 MB, free: 19.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3828, allocations: 38.66 kB / 453.6 MB, free: 19.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.383, allocations: 397.4 kB / 454 MB, free: 19.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.3831, allocations: 230.7 kB / 454.2 MB, free: 19.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.3833, allocations: 145.5 kB / 454.4 MB, free: 19.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.3834, allocations: 347.6 kB / 454.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.3838, allocations: 227.4 kB / 454.9 MB, free: 18.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.3843, allocations: 432.1 kB / 455.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/0.3852, allocations: 0.7028 MB / 456 MB, free: 17.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3852, allocations: 5.719 kB / 456 MB, free: 17.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00122/0.3865, allocations: 0.7547 MB / 456.8 MB, free: 17.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3865, allocations: 7.781 kB / 456.8 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.3865, allocations: 9.531 kB / 456.8 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.3865, allocations: 11.81 kB / 456.8 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/0.3872, allocations: 187.3 kB / 457 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.3872, allocations: 11.8 kB / 457 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.3876, allocations: 81.59 kB / 457.1 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.3877, allocations: 39.7 kB / 457.1 MB, free: 17.54 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.000271/0.3879, allocations: 227.4 kB / 457.4 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.388, allocations: 39.27 kB / 457.4 MB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.3892, allocations: 0.6472 MB / 458 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3893, allocations: 9.688 kB / 458.1 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3893, allocations: 2.75 kB / 458.1 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3893, allocations: 4.25 kB / 458.1 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.3916, allocations: 1.479 MB / 459.5 MB, free: 16.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3916, allocations: 2.25 kB / 459.5 MB, free: 16.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.3922, allocations: 150.9 kB / 459.7 MB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3922, allocations: 8.031 kB / 459.7 MB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.3923, allocations: 15.11 kB / 459.7 MB, free: 16.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3923, allocations: 3.969 kB / 459.7 MB, free: 16.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3923, allocations: 1 kB / 459.7 MB, free: 16.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.3938, allocations: 1.128 MB / 460.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.3938, allocations: 131.8 kB / 461 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.3939, allocations: 13.28 kB / 461 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.3942, allocations: 24.56 kB / 461 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3943, allocations: 41.17 kB / 461.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.3944, allocations: 20.77 kB / 461.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.3945, allocations: 184.8 kB / 461.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3945, allocations: 4.062 kB / 461.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007747/0.3953, allocations: 228.1 kB / 461.5 MB, free: 15.25 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.001767/0.3971, allocations: 1.709 MB / 463.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3981, allocations: 0.5715 MB / 463.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3982, allocations: 5 kB / 463.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.3986, allocations: 272.9 kB / 464 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.3991, allocations: 40.36 kB / 464.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005985/0.4051, allocations: 4.849 MB / 468.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.4057, allocations: 0.9007 MB / 469.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.406, allocations: 80.31 kB / 469.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.4063, allocations: 259.1 kB / 470.2 MB, free: 9.605 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4063, allocations: 0 / 470.2 MB, free: 9.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.4423, allocations: 9.778 MB / 479.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.884/9.326, allocations: 7.203 kB / 479.9 MB, free: 6.695 MB / 366.1 MB " [Timeout remaining time 651] (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: 12.311350750969723]