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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00635/0.00635, allocations: 113 kB / 21.97 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 211.5 kB / 25.27 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 51.92 kB / 348 MB, free: 10.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2738, allocations: 49.16 MB / 397.1 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005942/0.2797, allocations: 5.929 MB / 403.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.2834, allocations: 1.918 MB / 405 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.2839, allocations: 19.19 kB / 405 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.2871, allocations: 1.643 MB / 406.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.2891, allocations: 0.6762 MB / 407.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009959/0.2901, allocations: 406.3 kB / 407.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.2915, allocations: 0.8958 MB / 408.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.2927, allocations: 0.7864 MB / 409.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.2932, allocations: 403.3 kB / 409.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.2937, allocations: 0.5304 MB / 410.3 MB, free: 340 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.2938, allocations: 84.56 kB / 410.4 MB, free: 340 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.2945, allocations: 247.3 kB / 410.6 MB, free: 280 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.2946, allocations: 209.3 kB / 410.9 MB, free: 128 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.295, allocations: 462.8 kB / 411.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.2969, allocations: 1.243 MB / 412.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2969, allocations: 0.6562 kB / 412.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.2969, allocations: 1.562 kB / 412.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.2969, allocations: 0 / 412.6 MB, free: 15.3 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00392/0.3008, allocations: 1.375 MB / 413.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.3009, allocations: 17.86 kB / 413.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.625e-05/0.3009, allocations: 40.89 kB / 414 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/0.3011, allocations: 167.3 kB / 414.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006782/0.3079, allocations: 0.9583 MB / 415.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.3089, allocations: 392.7 kB / 415.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.3e-05/0.3089, allocations: 82.8 kB / 415.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.3091, allocations: 105 kB / 415.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.3111, allocations: 1.135 MB / 416.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.3111, allocations: 1.062 kB / 416.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-05/0.3112, allocations: 41.19 kB / 416.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.3112, allocations: 26.56 kB / 416.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.3132, allocations: 1.136 MB / 418 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005542/0.3187, allocations: 3.524 MB / 421.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.3209, allocations: 0.93 MB / 422.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.3214, allocations: 272.6 kB / 422.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.359e-05/0.3215, allocations: 27.59 kB / 422.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.3215, allocations: 46.91 kB / 422.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.274e-06/0.3215, allocations: 4.875 kB / 422.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001463/0.323, allocations: 0.7557 MB / 423.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.3231, allocations: 109.8 kB / 423.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.3235, allocations: 328.7 kB / 424 MB, free: 7.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.3235, allocations: 40.55 kB / 424 MB, free: 7.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.3239, allocations: 459.9 kB / 424.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.3241, allocations: 263.1 kB / 424.7 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.3243, allocations: 172.7 kB / 424.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3245, allocations: 356.6 kB / 425.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.3249, allocations: 245.5 kB / 425.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/0.3257, allocations: 0.563 MB / 426.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.3269, allocations: 0.8797 MB / 426.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3269, allocations: 0 / 426.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001515/0.3284, allocations: 0.8993 MB / 427.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3285, allocations: 12 kB / 427.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.3285, allocations: 8 kB / 427.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.3285, allocations: 16 kB / 427.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/0.3293, allocations: 239.6 kB / 428.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.3293, allocations: 20.34 kB / 428.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.3299, allocations: 115.2 kB / 428.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.33, allocations: 44 kB / 428.3 MB, free: 3.512 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.0003277/0.3303, allocations: 237.5 kB / 428.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.3304, allocations: 51.66 kB / 428.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.3317, allocations: 0.6822 MB / 429.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3317, allocations: 8 kB / 429.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3317, allocations: 4 kB / 429.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3317, allocations: 7.922 kB / 429.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.3342, allocations: 1.545 MB / 430.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3342, allocations: 0 / 430.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.3348, allocations: 147.8 kB / 431 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3348, allocations: 4 kB / 431 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.3349, allocations: 23.98 kB / 431 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.3349, allocations: 4 kB / 431 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.3349, allocations: 4 kB / 431 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.3366, allocations: 1.17 MB / 432.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/0.3367, allocations: 55.58 kB / 432.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.3368, allocations: 12 kB / 432.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.3371, allocations: 27.98 kB / 432.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3372, allocations: 44.56 kB / 432.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.3373, allocations: 24 kB / 432.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.3375, allocations: 211.1 kB / 432.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3375, allocations: 0 / 432.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008734/0.3384, allocations: 247.3 kB / 432.8 MB, free: 14.94 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 (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.002164/0.3405, allocations: 1.761 MB / 434.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.3417, allocations: 0.6441 MB / 435.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3417, allocations: 256 / 435.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.3422, allocations: 287.6 kB / 435.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.3428, allocations: 53.08 kB / 435.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007696/0.3505, allocations: 5.544 MB / 441 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.3511, allocations: 0.9242 MB / 442 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003473/0.3514, allocations: 96.88 kB / 442.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.3518, allocations: 287.3 kB / 442.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3518, allocations: 0 / 442.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.3895, allocations: 11.33 MB / 453.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 11.97 kB / 453.7 MB, free: 9.527 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.5607214999618]