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.001294/0.001293, allocations: 107.3 kB / 17.06 MB, free: 6.016 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.00178/0.00178, allocations: 192 kB / 18 MB, free: 5.102 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.432/1.432, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2656, allocations: 49.45 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007434/0.2731, allocations: 5.602 MB / 405.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.2767, allocations: 1.807 MB / 407.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.2771, allocations: 23.94 kB / 407.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003703/0.2809, allocations: 1.612 MB / 409.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.2829, allocations: 0.7536 MB / 410 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006984/0.2836, allocations: 283.3 kB / 410.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2846, allocations: 0.8017 MB / 411.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.286, allocations: 0.8633 MB / 412 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004863/0.2865, allocations: 354.7 kB / 412.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006274/0.2872, allocations: 494.1 kB / 412.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.2873, allocations: 80 kB / 412.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.2879, allocations: 235.8 kB / 413.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.2881, allocations: 187.4 kB / 413.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.2885, allocations: 421.9 kB / 413.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.2901, allocations: 1.171 MB / 414.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2902, allocations: 0 / 414.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2902, allocations: 0 / 414.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.2902, allocations: 4 kB / 414.9 MB, free: 10.08 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.003527/0.2937, allocations: 1.372 MB / 416.3 MB, free: 8.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2938, allocations: 8.031 kB / 416.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.294, allocations: 148.3 kB / 416.4 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004652/0.2986, allocations: 0.6521 MB / 417.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.2993, allocations: 423.1 kB / 417.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.2994, allocations: 74.38 kB / 417.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.2996, allocations: 96.33 kB / 417.6 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.3014, allocations: 0.9822 MB / 418.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.3014, allocations: 3.984 kB / 418.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.3015, allocations: 43.98 kB / 418.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.3016, allocations: 24 kB / 418.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.3033, allocations: 0.9213 MB / 419.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004955/0.3082, allocations: 3.34 MB / 423 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.311, allocations: 2.245 MB / 425.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.3115, allocations: 297.5 kB / 425.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.3117, allocations: 97.61 kB / 425.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.3117, allocations: 47.05 kB / 425.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 3.286e-06/0.3117, allocations: 0 / 425.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001531/0.3133, allocations: 0.7135 MB / 426.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.3135, allocations: 111.4 kB / 426.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.3138, allocations: 270.5 kB / 426.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.3139, allocations: 37.7 kB / 426.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.3142, allocations: 392.2 kB / 427.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.3144, allocations: 242 kB / 427.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.3146, allocations: 134.6 kB / 427.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3148, allocations: 350.8 kB / 427.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.3152, allocations: 217.9 kB / 428.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.3158, allocations: 435.3 kB / 428.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3169, allocations: 0.695 MB / 429.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.317, allocations: 4 kB / 429.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001322/0.3183, allocations: 0.7448 MB / 429.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3183, allocations: 11.94 kB / 429.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3184, allocations: 7.938 kB / 430 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.3184, allocations: 12 kB / 430 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.3191, allocations: 195.7 kB / 430.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.3191, allocations: 12.33 kB / 430.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.3195, allocations: 83.41 kB / 430.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.3196, allocations: 35.98 kB / 430.3 MB, free: 9.75 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.0003101/0.3199, allocations: 217.6 kB / 430.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.32, allocations: 51.64 kB / 430.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.3213, allocations: 0.6479 MB / 431.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.3213, allocations: 8 kB / 431.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3213, allocations: 0 / 431.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3213, allocations: 3.984 kB / 431.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.3238, allocations: 1.485 MB / 432.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3238, allocations: 0 / 432.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.3244, allocations: 139.8 kB / 432.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.3244, allocations: 11.98 kB / 432.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.3244, allocations: 12 kB / 432.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.3245, allocations: 11.94 kB / 432.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3245, allocations: 0 / 432.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3263, allocations: 1.112 MB / 434 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3264, allocations: 128.7 kB / 434.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.3265, allocations: 12 kB / 434.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.3269, allocations: 35.86 kB / 434.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.327, allocations: 40.5 kB / 434.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.327, allocations: 20 kB / 434.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.3272, allocations: 186 kB / 434.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3272, allocations: 0 / 434.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007857/0.328, allocations: 219.4 kB / 434.6 MB, free: 5.32 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.00221/0.3303, allocations: 1.711 MB / 436.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.3315, allocations: 0.6093 MB / 436.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3315, allocations: 5.75 kB / 436.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.332, allocations: 307 kB / 437.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.3325, allocations: 40.69 kB / 437.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007058/0.3396, allocations: 4.847 MB / 442.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.3403, allocations: 0.8968 MB / 443 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.3406, allocations: 76.39 kB / 443.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/0.341, allocations: 259.3 kB / 443.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.341, allocations: 0 / 443.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.3798, allocations: 9.524 MB / 452.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.719/9.099, allocations: 4.688 kB / 452.9 MB, free: 2.875 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