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.001704/0.001704, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002072/0.002072, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.422/1.422, allocations: 207.7 MB / 235.3 MB, free: 9.797 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="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"}) [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.001826/0.001826, allocations: 51.92 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3114, allocations: 49.16 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006153/0.3175, allocations: 5.222 MB / 401.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003834/0.3213, allocations: 1.803 MB / 403.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004913/0.3218, allocations: 18.75 kB / 403.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003554/0.3254, allocations: 1.514 MB / 404.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.3279, allocations: 0.6462 MB / 405.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.329, allocations: 401.8 kB / 405.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.3303, allocations: 0.8937 MB / 406.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.3316, allocations: 0.7694 MB / 407.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.3321, allocations: 402.9 kB / 408 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006134/0.3327, allocations: 483.1 kB / 408.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.3328, allocations: 84.34 kB / 408.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.3335, allocations: 233.3 kB / 408.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3337, allocations: 207.4 kB / 409 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.3341, allocations: 377.5 kB / 409.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.3357, allocations: 1.251 MB / 410.6 MB, free: 392 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3357, allocations: 4 kB / 410.6 MB, free: 388 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3357, allocations: 1.156 kB / 410.6 MB, free: 388 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.3357, allocations: 0 / 410.6 MB, free: 388 kB / 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.003391/0.3391, allocations: 1.374 MB / 412 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3391, allocations: 14.33 kB / 412 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002392/0.3394, allocations: 163.3 kB / 412.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006859/0.3462, allocations: 0.9621 MB / 413.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009998/0.3472, allocations: 392.8 kB / 413.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.3473, allocations: 86.77 kB / 413.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.3475, allocations: 109.5 kB / 413.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.3495, allocations: 1.156 MB / 414.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.3496, allocations: 5 kB / 414.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.3497, allocations: 46.03 kB / 414.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.3497, allocations: 26.16 kB / 414.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.3517, allocations: 1.125 MB / 416 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.3572, allocations: 3.229 MB / 419.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.3594, allocations: 0.9087 MB / 420.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.3599, allocations: 276.4 kB / 420.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.606e-05/0.36, allocations: 20.23 kB / 420.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.36, allocations: 56.09 kB / 420.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.016e-06/0.36, allocations: 0 / 420.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001537/0.3616, allocations: 0.7551 MB / 421.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.3617, allocations: 111.1 kB / 421.4 MB, free: 9.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.3621, allocations: 347.8 kB / 421.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.3621, allocations: 37.42 kB / 421.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.3624, allocations: 458.7 kB / 422.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.3626, allocations: 264.3 kB / 422.5 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.3629, allocations: 172.6 kB / 422.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3631, allocations: 356.2 kB / 423 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.3636, allocations: 241.4 kB / 423.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.3643, allocations: 0.563 MB / 423.8 MB, free: 7.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.3657, allocations: 0.8796 MB / 424.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.3657, allocations: 4 kB / 424.7 MB, free: 6.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001612/0.3673, allocations: 0.9068 MB / 425.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3673, allocations: 8 kB / 425.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3674, allocations: 12 kB / 425.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.195e-05/0.3674, allocations: 16.75 kB / 425.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/0.3683, allocations: 239.6 kB / 425.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.3683, allocations: 19.94 kB / 425.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.3688, allocations: 107.2 kB / 426 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.3689, allocations: 40 kB / 426 MB, free: 4.793 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.0003752/0.3693, allocations: 241.5 kB / 426.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.3694, allocations: 55.64 kB / 426.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.3708, allocations: 0.6861 MB / 427 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.3708, allocations: 8 kB / 427 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3708, allocations: 0 / 427 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3709, allocations: 11.98 kB / 427 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.3735, allocations: 1.455 MB / 428.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3736, allocations: 3.984 kB / 428.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.3742, allocations: 143.8 kB / 428.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.3742, allocations: 4 kB / 428.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.3742, allocations: 31.92 kB / 428.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3742, allocations: 0 / 428.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3742, allocations: 7.938 kB / 428.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.376, allocations: 1.163 MB / 429.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3761, allocations: 55.52 kB / 429.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.3762, allocations: 16 kB / 429.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.3766, allocations: 23.92 kB / 429.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.3767, allocations: 56.62 kB / 430 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.3767, allocations: 20 kB / 430 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.377, allocations: 211.1 kB / 430.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.377, allocations: 0 / 430.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001001/0.378, allocations: 243.3 kB / 430.4 MB, free: 300 kB / 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.002493/0.3805, allocations: 1.765 MB / 432.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.382, allocations: 0.6438 MB / 432.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.382, allocations: 4 kB / 432.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.3826, allocations: 280.3 kB / 433.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.3832, allocations: 49.09 kB / 433.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.3936, allocations: 5.544 MB / 438.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.3942, allocations: 333.3 kB / 439 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004382/0.3946, allocations: 88.89 kB / 439.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.3951, allocations: 295.3 kB / 439.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of SimCode: time 1.624e-06/0.3951, allocations: 0 / 439.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/0.4431, allocations: 11.03 MB / 450.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 11.95 kB / 450.4 MB, free: 11.78 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.48871247516945]