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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 43.92 kB / 370.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2882, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007559/0.2957, allocations: 5.66 MB / 428.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.2997, allocations: 1.818 MB / 430.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007379/0.3005, allocations: 23.94 kB / 430.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003977/0.3044, allocations: 1.629 MB / 431.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.3068, allocations: 0.7566 MB / 432.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.3076, allocations: 279.4 kB / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.3089, allocations: 0.7978 MB / 433.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.3103, allocations: 0.7624 MB / 434.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.311, allocations: 362.7 kB / 434.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.3118, allocations: 498.1 kB / 435.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.312, allocations: 80 kB / 435.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006064/0.3126, allocations: 235.9 kB / 435.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.3128, allocations: 195.2 kB / 435.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.3132, allocations: 418 kB / 436.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.3147, allocations: 1.176 MB / 437.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3148, allocations: 4 kB / 437.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3148, allocations: 0 / 437.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.318e-05/0.3148, allocations: 0 / 437.3 MB, free: 15.86 MB / 350.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.003459/0.3182, allocations: 1.289 MB / 438.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3183, allocations: 8.031 kB / 438.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.3185, allocations: 152.3 kB / 438.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.3229, allocations: 0.6482 MB / 439.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.3236, allocations: 369.3 kB / 439.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.3237, allocations: 74.38 kB / 439.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.3238, allocations: 92.33 kB / 439.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.3256, allocations: 0.9899 MB / 440.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.3256, allocations: 0 / 440.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.3257, allocations: 40 kB / 440.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.3257, allocations: 31.92 kB / 441 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.3274, allocations: 0.9291 MB / 441.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.3321, allocations: 3.143 MB / 445 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.3339, allocations: 0.7639 MB / 445.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.3343, allocations: 255.6 kB / 446 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-05/0.3344, allocations: 20.62 kB / 446.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3345, allocations: 51.16 kB / 446.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.134e-06/0.3345, allocations: 0 / 446.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001353/0.3358, allocations: 0.7124 MB / 446.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.3359, allocations: 111.5 kB / 446.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.3362, allocations: 277.7 kB / 447.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.3362, allocations: 37.95 kB / 447.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.3365, allocations: 392 kB / 447.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.3367, allocations: 238 kB / 447.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.3369, allocations: 138.6 kB / 448 MB, free: 4.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.337, allocations: 346.8 kB / 448.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.3375, allocations: 217.9 kB / 448.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.3381, allocations: 443.4 kB / 449 MB, free: 3.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.3391, allocations: 0.6891 MB / 449.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3391, allocations: 4 kB / 449.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001283/0.3404, allocations: 0.7507 MB / 450.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3404, allocations: 11.94 kB / 450.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3404, allocations: 4 kB / 450.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.3405, allocations: 12 kB / 450.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.3412, allocations: 192.3 kB / 450.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/0.3412, allocations: 19.86 kB / 450.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.3416, allocations: 79.41 kB / 450.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.3416, allocations: 39.98 kB / 450.8 MB, free: 1.855 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.0002793/0.3419, allocations: 217.6 kB / 451 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.342, allocations: 47.66 kB / 451 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.3432, allocations: 0.6462 MB / 451.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3433, allocations: 8 kB / 451.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3433, allocations: 4 kB / 451.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3433, allocations: 3.984 kB / 451.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.3457, allocations: 1.447 MB / 453.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3457, allocations: 0 / 453.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.3463, allocations: 135.8 kB / 453.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/0.3463, allocations: 8 kB / 453.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.3463, allocations: 19.98 kB / 453.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3463, allocations: 7.938 kB / 453.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3463, allocations: 0 / 453.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.3479, allocations: 1.12 MB / 454.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/0.348, allocations: 51.53 kB / 454.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.3481, allocations: 12 kB / 454.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.3484, allocations: 27.92 kB / 454.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.3485, allocations: 48.56 kB / 454.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.3485, allocations: 20 kB / 454.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.3487, allocations: 181.2 kB / 454.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3487, allocations: 64 / 454.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007389/0.3495, allocations: 227.4 kB / 455 MB, free: 13.55 MB / 366.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.002104/0.3516, allocations: 1.711 MB / 456.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3526, allocations: 0.5728 MB / 457.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3526, allocations: 0 / 457.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.3531, allocations: 280.1 kB / 457.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.3536, allocations: 36.5 kB / 457.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007134/0.3608, allocations: 4.835 MB / 462.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.3614, allocations: 0.9006 MB / 463.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.3617, allocations: 80.33 kB / 463.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.362, allocations: 255.4 kB / 463.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of SimCode: time 9.61e-07/0.362, allocations: 0 / 463.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.4044, allocations: 10.21 MB / 473.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.76, allocations: 11.3 kB / 473.9 MB, free: 10.5 MB / 382.1 MB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.316359838936478]