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.00159/0.00159, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.00157/0.00157, allocations: 187 kB / 18.67 MB, free: 4.387 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.411/1.411, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001732/0.001732, allocations: 55.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09247, allocations: 46.62 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.1901/0.2826, allocations: 5.88 MB / 380.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00355/0.2862, allocations: 1.901 MB / 382.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.2869, allocations: 22.38 kB / 382.5 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.2905, allocations: 1.626 MB / 384.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.2925, allocations: 0.8231 MB / 384.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/0.2932, allocations: 292.1 kB / 385.2 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000987/0.2942, allocations: 0.8914 MB / 386.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.2954, allocations: 0.8787 MB / 387 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004855/0.2959, allocations: 402.3 kB / 387.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006159/0.2965, allocations: 0.527 MB / 387.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.2967, allocations: 83.94 kB / 388 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.2973, allocations: 242.5 kB / 388.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2974, allocations: 208.1 kB / 388.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.2978, allocations: 465.6 kB / 388.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.2992, allocations: 1.235 MB / 390.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2992, allocations: 0 / 390.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2992, allocations: 0 / 390.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.2992, allocations: 0.5156 kB / 390.1 MB, free: 5.992 MB / 318.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.003494/0.3027, allocations: 1.451 MB / 391.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.3028, allocations: 9 kB / 391.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.303, allocations: 162.6 kB / 391.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006908/0.3099, allocations: 0.9707 MB / 392.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/0.3107, allocations: 445.4 kB / 393.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/0.3108, allocations: 81.98 kB / 393.2 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.311, allocations: 111.8 kB / 393.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.3129, allocations: 1.132 MB / 394.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.3129, allocations: 1.312 kB / 394.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.313, allocations: 50.16 kB / 394.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.313, allocations: 29.34 kB / 394.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.315, allocations: 1.132 MB / 395.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00522/0.3203, allocations: 3.938 MB / 399.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.3238, allocations: 3.758 MB / 403.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.3244, allocations: 320.4 kB / 403.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.3245, allocations: 91.34 kB / 403.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.3246, allocations: 57.92 kB / 403.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.524e-06/0.3246, allocations: 0 / 403.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001542/0.3261, allocations: 0.7512 MB / 404.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.3262, allocations: 111.1 kB / 404.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.3266, allocations: 327.2 kB / 405 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.3267, allocations: 36.7 kB / 405 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.327, allocations: 461 kB / 405.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.3272, allocations: 259.1 kB / 405.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.3275, allocations: 181 kB / 405.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3277, allocations: 356.4 kB / 406.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.3282, allocations: 244.9 kB / 406.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/0.3289, allocations: 0.5727 MB / 407.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.3302, allocations: 0.8681 MB / 407.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.3302, allocations: 3.312 kB / 407.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001661/0.3319, allocations: 0.9031 MB / 408.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3319, allocations: 13.53 kB / 408.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.3319, allocations: 10.44 kB / 408.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/0.332, allocations: 19.98 kB / 408.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.3328, allocations: 234.7 kB / 409.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.044e-05/0.3329, allocations: 27.33 kB / 409.1 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.3334, allocations: 99.16 kB / 409.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.3335, allocations: 47.64 kB / 409.3 MB, free: 8.961 MB / 334.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.000391/0.3339, allocations: 241.6 kB / 409.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.3341, allocations: 49.22 kB / 409.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.3354, allocations: 0.6832 MB / 410.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3354, allocations: 12.23 kB / 410.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3354, allocations: 5.219 kB / 410.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3354, allocations: 5.328 kB / 410.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.3381, allocations: 1.571 MB / 411.8 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3381, allocations: 0.9062 kB / 411.8 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.3388, allocations: 151.7 kB / 412 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.3388, allocations: 4.062 kB / 412 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.3388, allocations: 17.19 kB / 412 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.3388, allocations: 3.125 kB / 412 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3388, allocations: 1.906 kB / 412 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.3406, allocations: 1.177 MB / 413.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.3408, allocations: 131.8 kB / 413.3 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.337e-05/0.3409, allocations: 17.53 kB / 413.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.3412, allocations: 22.42 kB / 413.3 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3413, allocations: 48.09 kB / 413.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.3414, allocations: 24.67 kB / 413.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002282/0.3416, allocations: 211 kB / 413.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3416, allocations: 4 kB / 413.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009402/0.3426, allocations: 246.8 kB / 413.9 MB, free: 6.039 MB / 334.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.002228/0.3448, allocations: 1.759 MB / 415.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3462, allocations: 0.6996 MB / 416.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3463, allocations: 0 / 416.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005198/0.3468, allocations: 318.8 kB / 416.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.3474, allocations: 46.83 kB / 416.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008032/0.3554, allocations: 5.537 MB / 422.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.3561, allocations: 0.9241 MB / 423.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003858/0.3565, allocations: 92.89 kB / 423.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.3569, allocations: 291.3 kB / 423.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.545e-06/0.3569, allocations: 0 / 423.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04357/0.4005, allocations: 10.49 MB / 434 MB, free: 2.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.93/9.331, allocations: 11.86 kB / 434 MB, free: 2.617 MB / 350.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