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) 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 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_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.001168/0.001168, allocations: 107.6 kB / 17.06 MB, free: 6.145 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.00146/0.00146, allocations: 195 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 35.94 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3134, allocations: 49.45 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007217/0.3206, allocations: 5.608 MB / 405.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.3242, allocations: 1.807 MB / 407.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007288/0.3249, allocations: 23.94 kB / 407.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003666/0.3287, allocations: 1.611 MB / 409.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.3307, allocations: 0.7499 MB / 410 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008546/0.3316, allocations: 289.1 kB / 410.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.3328, allocations: 0.8056 MB / 411.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.3343, allocations: 0.8697 MB / 412 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.335, allocations: 350.7 kB / 412.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008125/0.3358, allocations: 486.2 kB / 412.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.336, allocations: 80 kB / 412.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007556/0.3368, allocations: 243.8 kB / 413.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.337, allocations: 187.4 kB / 413.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006108/0.3377, allocations: 425.9 kB / 413.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.3394, allocations: 1.16 MB / 414.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.3394, allocations: 7.984 kB / 414.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3395, allocations: 0 / 414.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-05/0.3395, allocations: 0 / 414.9 MB, free: 10.1 MB / 334.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.003686/0.3432, allocations: 1.35 MB / 416.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3433, allocations: 8.031 kB / 416.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002669/0.3435, allocations: 148.3 kB / 416.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004633/0.3482, allocations: 0.6555 MB / 417 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.3489, allocations: 411.2 kB / 417.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.349, allocations: 74.38 kB / 417.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.3492, allocations: 96.28 kB / 417.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.351, allocations: 0.9899 MB / 418.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.351, allocations: 0 / 418.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.3511, allocations: 40 kB / 418.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.3512, allocations: 24 kB / 418.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.3528, allocations: 0.9213 MB / 419.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004791/0.3576, allocations: 3.327 MB / 422.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.36, allocations: 2.245 MB / 425.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.3604, allocations: 297.5 kB / 425.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.3605, allocations: 105.6 kB / 425.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3606, allocations: 47.06 kB / 425.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.084e-06/0.3606, allocations: 0 / 425.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.00135/0.362, allocations: 0.7094 MB / 426.3 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.362, allocations: 119.6 kB / 426.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.3623, allocations: 270.4 kB / 426.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.3624, allocations: 37.7 kB / 426.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.3626, allocations: 382.6 kB / 427.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3628, allocations: 224.8 kB / 427.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.363, allocations: 134.6 kB / 427.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3632, allocations: 346.8 kB / 427.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.3636, allocations: 225.9 kB / 428 MB, free: 12.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.3641, allocations: 435.3 kB / 428.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.3652, allocations: 0.695 MB / 429.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/0.3652, allocations: 4 kB / 429.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001205/0.3664, allocations: 0.7448 MB / 429.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3664, allocations: 11.94 kB / 429.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3664, allocations: 8.062 kB / 429.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3665, allocations: 12 kB / 429.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.3671, allocations: 191.7 kB / 430.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.3672, allocations: 11.94 kB / 430.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.3676, allocations: 79.2 kB / 430.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.3676, allocations: 36 kB / 430.2 MB, free: 9.828 MB / 350.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.0003045/0.368, allocations: 221.6 kB / 430.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3681, allocations: 43.47 kB / 430.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.3692, allocations: 0.6478 MB / 431.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3692, allocations: 8 kB / 431.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3693, allocations: 0 / 431.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3693, allocations: 3.984 kB / 431.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.3714, allocations: 1.477 MB / 432.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3714, allocations: 4 kB / 432.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/0.372, allocations: 139.8 kB / 432.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.372, allocations: 4 kB / 432.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.372, allocations: 15.98 kB / 432.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.372, allocations: 7.938 kB / 432.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.372, allocations: 0 / 432.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.3736, allocations: 1.119 MB / 433.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3737, allocations: 116.5 kB / 434 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.3738, allocations: 19.94 kB / 434 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.3741, allocations: 27.92 kB / 434.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.3742, allocations: 40.56 kB / 434.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.3742, allocations: 24 kB / 434.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.3744, allocations: 186 kB / 434.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3744, allocations: 0 / 434.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007117/0.3751, allocations: 219.1 kB / 434.5 MB, free: 5.414 MB / 350.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.001906/0.3771, allocations: 1.714 MB / 436.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009719/0.378, allocations: 0.6106 MB / 436.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3781, allocations: 4 kB / 436.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.3785, allocations: 299.1 kB / 437.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.379, allocations: 40.55 kB / 437.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.385, allocations: 4.822 MB / 442 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3854, allocations: 0.9046 MB / 442.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.3857, allocations: 80.39 kB / 443 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.3861, allocations: 251.3 kB / 443.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3861, allocations: 7.938 kB / 443.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.4174, allocations: 9.656 MB / 452.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.323, allocations: 4.25 kB / 452.9 MB, free: 2.859 MB / 366.1 MB (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 --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) 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) Reference file matches