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.001464/0.001464, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.002029/0.002029, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.453/1.453, allocations: 207.6 MB / 232.5 MB, free: 3.719 MB / 174.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.00165/0.00165, allocations: 51.92 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08998, allocations: 49.13 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007319/0.0973, allocations: 5.909 MB / 398 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003729/0.101, allocations: 1.924 MB / 399.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.1015, allocations: 20 kB / 400 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.1051, allocations: 1.634 MB / 401.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.1067, allocations: 0.6645 MB / 402.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.1076, allocations: 418.9 kB / 402.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1086, allocations: 0.891 MB / 403.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.1096, allocations: 0.6614 MB / 404.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.1101, allocations: 402.4 kB / 404.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006227/0.1108, allocations: 0.5292 MB / 405.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1109, allocations: 84 kB / 405.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005105/0.1114, allocations: 251.8 kB / 405.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.1115, allocations: 199.2 kB / 405.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.112, allocations: 465.7 kB / 406.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.1134, allocations: 1.245 MB / 407.4 MB, free: 9.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1134, allocations: 0 / 407.4 MB, free: 9.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1134, allocations: 3.938 kB / 407.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.1134, allocations: 4 kB / 407.4 MB, free: 9.344 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.003389/0.1168, allocations: 1.442 MB / 408.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1168, allocations: 12.03 kB / 408.8 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.486e-05/0.1169, allocations: 26.36 kB / 408.9 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/0.117, allocations: 169 kB / 409 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006926/0.124, allocations: 0.9681 MB / 410 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.125, allocations: 455 kB / 410.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/0.1251, allocations: 78.55 kB / 410.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.1253, allocations: 108.3 kB / 410.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.1273, allocations: 1.136 MB / 411.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.1274, allocations: 3.984 kB / 411.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1275, allocations: 44 kB / 411.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1275, allocations: 28 kB / 411.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.1294, allocations: 1.132 MB / 413 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005563/0.135, allocations: 3.935 MB / 416.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.1388, allocations: 3.701 MB / 420.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.1393, allocations: 281.5 kB / 420.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.1394, allocations: 105.6 kB / 421 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.1395, allocations: 43.06 kB / 421 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 3.446e-06/0.1395, allocations: 0 / 421 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.001515/0.141, allocations: 0.7564 MB / 421.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.141, allocations: 111.4 kB / 421.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.1414, allocations: 328.3 kB / 422.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.1415, allocations: 33.7 kB / 422.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.1417, allocations: 463.6 kB / 422.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.1419, allocations: 262 kB / 422.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.1422, allocations: 174.5 kB / 423.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1424, allocations: 358.8 kB / 423.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.1428, allocations: 241.9 kB / 423.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.1435, allocations: 0.5591 MB / 424.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.1448, allocations: 0.8793 MB / 425.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.1448, allocations: 4 kB / 425.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001524/0.1463, allocations: 0.9035 MB / 426 MB, free: 5.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.1463, allocations: 11.91 kB / 426.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.1464, allocations: 12 kB / 426.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.1464, allocations: 16 kB / 426.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.1472, allocations: 235.6 kB / 426.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.1472, allocations: 19.94 kB / 426.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.1477, allocations: 111.2 kB / 426.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.1478, allocations: 48.09 kB / 426.5 MB, free: 4.758 MB / 350.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.0003416/0.1481, allocations: 237.5 kB / 426.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.1482, allocations: 51.59 kB / 426.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.1495, allocations: 0.69 MB / 427.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1496, allocations: 8 kB / 427.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1496, allocations: 0 / 427.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1496, allocations: 3.984 kB / 427.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.152, allocations: 1.569 MB / 429 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.152, allocations: 4 kB / 429 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/0.1526, allocations: 151.8 kB / 429.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1526, allocations: 4 kB / 429.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.1526, allocations: 15.98 kB / 429.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.1526, allocations: 7.938 kB / 429.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1526, allocations: 0 / 429.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.1543, allocations: 1.17 MB / 430.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1544, allocations: 136.7 kB / 430.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.1545, allocations: 12 kB / 430.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.1548, allocations: 28.05 kB / 430.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1549, allocations: 44.59 kB / 430.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.155, allocations: 20 kB / 430.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002294/0.1552, allocations: 211.1 kB / 430.8 MB, free: 300 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1552, allocations: 0 / 430.8 MB, free: 300 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008151/0.156, allocations: 247.3 kB / 431.1 MB, free: 52 kB / 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.002101/0.1581, allocations: 1.769 MB / 432.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.1593, allocations: 0.6441 MB / 433.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1593, allocations: 0 / 433.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.1598, allocations: 284 kB / 433.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.1604, allocations: 49.03 kB / 433.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007622/0.168, allocations: 5.547 MB / 439.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.1686, allocations: 0.9241 MB / 440.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.1689, allocations: 92.88 kB / 440.4 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/0.1693, allocations: 291.3 kB / 440.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1693, allocations: 4 kB / 440.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.2027, allocations: 10.62 MB / 451.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.854/9.056, allocations: 19.98 kB / 451.3 MB, free: 11.33 MB / 382.1 MB " [Timeout remaining time 651] (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: 12.160593421955127]