Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 99.95 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 52.3 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08057/0.08183, allocations: 46.64 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007173/0.08905, allocations: 5.877 MB / 333.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003956/0.09304, allocations: 1.901 MB / 335.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006882/0.09379, allocations: 20 kB / 335.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004131/0.09793, allocations: 1.618 MB / 336.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.1004, allocations: 0.8355 MB / 337.6 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000886/0.1013, allocations: 279.5 kB / 337.9 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.1028, allocations: 0.8912 MB / 338.8 MB, free: 8.887 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.1043, allocations: 0.8797 MB / 339.7 MB, free: 7.984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.1049, allocations: 390.5 kB / 340.1 MB, free: 7.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.1056, allocations: 0.537 MB / 340.6 MB, free: 7.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.1058, allocations: 84 kB / 340.7 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.1065, allocations: 243.9 kB / 340.9 MB, free: 6.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.1066, allocations: 207.2 kB / 341.1 MB, free: 6.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004953/0.1072, allocations: 465.7 kB / 341.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.1087, allocations: 1.222 MB / 342.8 MB, free: 4.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1087, allocations: 3.938 kB / 342.8 MB, free: 4.852 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1087, allocations: 0 / 342.8 MB, free: 4.852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.1087, allocations: 0 / 342.8 MB, free: 4.852 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003556/0.1123, allocations: 1.421 MB / 344.2 MB, free: 3.379 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1123, allocations: 12.03 kB / 344.2 MB, free: 3.367 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.1125, allocations: 161 kB / 344.4 MB, free: 3.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00698/0.1195, allocations: 0.9676 MB / 345.4 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.1202, allocations: 446.9 kB / 345.8 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.1202, allocations: 82.55 kB / 345.9 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.1204, allocations: 108.4 kB / 346 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.1223, allocations: 1.125 MB / 347.1 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.1223, allocations: 0 / 347.1 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.1225, allocations: 48 kB / 347.2 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1225, allocations: 24 kB / 347.2 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.1244, allocations: 1.136 MB / 348.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005531/0.13, allocations: 3.972 MB / 352.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.1333, allocations: 3.756 MB / 356 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.1339, allocations: 316.6 kB / 356.4 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.134, allocations: 97.64 kB / 356.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/0.1341, allocations: 47.06 kB / 356.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.267e-06/0.1341, allocations: 0 / 356.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001528/0.1357, allocations: 0.7602 MB / 357.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.1357, allocations: 111.4 kB / 357.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.1363, allocations: 328.2 kB / 357.7 MB, free: 4.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.1363, allocations: 33.7 kB / 357.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.1367, allocations: 445.9 kB / 358.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.137, allocations: 248.4 kB / 358.4 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.1373, allocations: 174.5 kB / 358.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1375, allocations: 354.8 kB / 358.9 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.1381, allocations: 245.9 kB / 359.2 MB, free: 3.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007796/0.1389, allocations: 0.5591 MB / 359.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.1402, allocations: 0.8715 MB / 360.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.1402, allocations: 0 / 360.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001535/0.1418, allocations: 0.9111 MB / 361.5 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.1418, allocations: 12.03 kB / 361.5 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.1418, allocations: 12 kB / 361.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.43e-05/0.1419, allocations: 16 kB / 361.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/0.1428, allocations: 235.6 kB / 361.8 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.578e-05/0.1428, allocations: 23.92 kB / 361.8 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/0.1434, allocations: 98.95 kB / 361.9 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.1435, allocations: 44 kB / 361.9 MB, free: 268 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0003196/0.1438, allocations: 249.4 kB / 362.2 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.144, allocations: 47.55 kB / 362.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.1452, allocations: 0.6823 MB / 362.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.1452, allocations: 15.98 kB / 362.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1452, allocations: 0 / 362.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1453, allocations: 3.984 kB / 362.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.1478, allocations: 1.59 MB / 364.5 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1478, allocations: 0 / 364.5 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.1484, allocations: 147.8 kB / 364.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.1484, allocations: 4 kB / 364.7 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.1485, allocations: 20 kB / 364.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1485, allocations: 4 kB / 364.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1485, allocations: 7.984 kB / 364.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.1502, allocations: 1.158 MB / 365.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.1503, allocations: 132.4 kB / 366 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.1504, allocations: 16 kB / 366 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.1508, allocations: 31.98 kB / 366 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.1509, allocations: 44.59 kB / 366.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.151, allocations: 20 kB / 366.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.1512, allocations: 215.1 kB / 366.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1512, allocations: 0 / 366.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008156/0.152, allocations: 243.1 kB / 366.5 MB, free: 11.54 MB / 318.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 (78): * Single equations (assignments): 78 * 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.001919/0.1539, allocations: 1.761 MB / 368.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.1554, allocations: 0.7244 MB / 369 MB, free: 9.023 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1555, allocations: 1.875 kB / 369 MB, free: 9.023 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.1559, allocations: 319.5 kB / 369.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.1565, allocations: 53.22 kB / 369.4 MB, free: 8.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007036/0.1636, allocations: 5.578 MB / 375 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.1641, allocations: 0.9203 MB / 375.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.1645, allocations: 96.88 kB / 376 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.1648, allocations: 291.3 kB / 376.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1649, allocations: 0 / 376.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/0.3156, allocations: 10.27 MB / 386.5 MB, free: 52.85 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.888, allocations: 4.484 kB / 386.5 MB, free: 52.85 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches