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.001188/0.001188, allocations: 105.5 kB / 17.73 MB, free: 5.367 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.001219/0.001219, allocations: 192 kB / 18.66 MB, free: 4.445 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.334/1.334, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001312/0.001312, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09684, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.2001/0.297, allocations: 5.871 MB / 380.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.3005, allocations: 1.898 MB / 382.4 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.3011, allocations: 22.84 kB / 382.4 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003437/0.3045, allocations: 1.638 MB / 384.1 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.3065, allocations: 0.8297 MB / 384.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.3073, allocations: 282.2 kB / 385.2 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.3081, allocations: 0.8987 MB / 386.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.3095, allocations: 0.8755 MB / 386.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.3099, allocations: 389.2 kB / 387.3 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/0.3105, allocations: 0.5314 MB / 387.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3106, allocations: 83.41 kB / 387.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005932/0.3112, allocations: 247 kB / 388.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.3114, allocations: 207.2 kB / 388.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.3118, allocations: 462.6 kB / 388.8 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.3132, allocations: 1.232 MB / 390.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3132, allocations: 5 kB / 390.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3132, allocations: 4 kB / 390.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.3133, allocations: 0 / 390.1 MB, free: 6.004 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.00338/0.3166, allocations: 1.425 MB / 391.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3167, allocations: 10.06 kB / 391.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.3169, allocations: 165.8 kB / 391.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007149/0.3241, allocations: 0.97 MB / 392.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.3248, allocations: 446.3 kB / 393.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.3249, allocations: 81.48 kB / 393.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.325, allocations: 110.7 kB / 393.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.3274, allocations: 1.137 MB / 394.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.3274, allocations: 1.156 kB / 394.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.3275, allocations: 44.69 kB / 394.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.3276, allocations: 27.77 kB / 394.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.3296, allocations: 1.131 MB / 395.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005217/0.3349, allocations: 3.921 MB / 399.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.3386, allocations: 3.753 MB / 403.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006005/0.3392, allocations: 324 kB / 403.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.3394, allocations: 96.55 kB / 403.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3394, allocations: 51.64 kB / 403.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.326e-06/0.3395, allocations: 0 / 403.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001763/0.3412, allocations: 0.7524 MB / 404.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.3413, allocations: 116 kB / 404.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.3417, allocations: 326.8 kB / 404.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.3418, allocations: 36.42 kB / 405 MB, free: 12.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.3421, allocations: 442.4 kB / 405.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.3423, allocations: 243.5 kB / 405.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.3426, allocations: 175.4 kB / 405.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3427, allocations: 352.8 kB / 406.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.3432, allocations: 249.2 kB / 406.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.344, allocations: 0.5674 MB / 407 MB, free: 10.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.3453, allocations: 0.8719 MB / 407.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.3454, allocations: 3.156 kB / 407.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001564/0.3469, allocations: 0.8991 MB / 408.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.347, allocations: 14.94 kB / 408.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.347, allocations: 10.56 kB / 408.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.347, allocations: 19.22 kB / 408.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/0.3479, allocations: 233.4 kB / 409 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.526e-05/0.3479, allocations: 19.34 kB / 409 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/0.3485, allocations: 107.2 kB / 409.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.3486, allocations: 48.42 kB / 409.2 MB, free: 9.051 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.0003443/0.349, allocations: 236.7 kB / 409.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3491, allocations: 57.44 kB / 409.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.3504, allocations: 0.6756 MB / 410.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.3504, allocations: 7.656 kB / 410.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3504, allocations: 0.9375 kB / 410.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.3504, allocations: 5.016 kB / 410.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.353, allocations: 1.582 MB / 411.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.353, allocations: 5.094 kB / 411.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/0.3537, allocations: 144.2 kB / 411.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.3537, allocations: 3.094 kB / 411.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.3537, allocations: 17.48 kB / 411.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.3538, allocations: 3.094 kB / 411.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3538, allocations: 5.812 kB / 411.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.3554, allocations: 1.18 MB / 413.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.3555, allocations: 128.8 kB / 413.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.3556, allocations: 15.66 kB / 413.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.3559, allocations: 22.61 kB / 413.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.356, allocations: 46.12 kB / 413.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.3561, allocations: 22.91 kB / 413.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3563, allocations: 212.2 kB / 413.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3563, allocations: 0 / 413.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008818/0.3572, allocations: 247.6 kB / 413.8 MB, free: 6.137 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.001968/0.3592, allocations: 1.756 MB / 415.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.3604, allocations: 0.6915 MB / 416.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3605, allocations: 0 / 416.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005054/0.361, allocations: 322.4 kB / 416.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.3616, allocations: 48.61 kB / 416.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007238/0.3688, allocations: 5.515 MB / 422.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.3694, allocations: 0.9241 MB / 423 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003897/0.3698, allocations: 96.88 kB / 423.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/0.3703, allocations: 287.3 kB / 423.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.104e-06/0.3703, allocations: 0 / 423.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.4053, allocations: 10.65 MB / 434 MB, free: 2.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.726/9.131, allocations: 7.844 kB / 434 MB, free: 2.609 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