Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001318/0.001318, allocations: 85.23 kB / 20.68 MB, free: 1.035 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.00142/0.00142, allocations: 165.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.515e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007863/0.007888, allocations: 5.032 MB / 330.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.0122, allocations: 1.773 MB / 331.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.01255, allocations: 18.09 kB / 331.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003988/0.01654, allocations: 1.589 MB / 333.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.01861, allocations: 0.5856 MB / 334.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.01967, allocations: 402.3 kB / 334.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.02073, allocations: 0.8283 MB / 335.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.02199, allocations: 0.7577 MB / 336 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000715/0.0227, allocations: 0.515 MB / 336.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005687/0.02327, allocations: 371.2 kB / 336.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.02339, allocations: 82.53 kB / 337 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.024, allocations: 245 kB / 337.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.02418, allocations: 188.9 kB / 337.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.02451, allocations: 285.4 kB / 337.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.02601, allocations: 1.189 MB / 338.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.02602, allocations: 1.062 kB / 338.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02602, allocations: 0 / 338.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.02603, allocations: 0 / 338.9 MB, free: 7.262 MB / 302.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.003465/0.02949, allocations: 1.284 MB / 340.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.02953, allocations: 8.031 kB / 340.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004841/0.03437, allocations: 0.6287 MB / 340.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.03502, allocations: 364.5 kB / 341.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.03509, allocations: 70.38 kB / 341.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.03524, allocations: 100.4 kB / 341.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.03708, allocations: 1.008 MB / 342.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.03711, allocations: 192 / 342.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/0.03721, allocations: 40.38 kB / 342.4 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.03723, allocations: 27.94 kB / 342.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.03903, allocations: 0.9252 MB / 343.3 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004738/0.04377, allocations: 2.787 MB / 346.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.04575, allocations: 0.752 MB / 346.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.04625, allocations: 262.5 kB / 347.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.04636, allocations: 28.62 kB / 347.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.0464, allocations: 47.14 kB / 347.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=65): time 2.565e-06/0.0464, allocations: 0 / 347.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.001508/0.04791, allocations: 0.7205 MB / 347.9 MB, free: 14.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.04799, allocations: 111.5 kB / 348 MB, free: 13.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.04828, allocations: 273.4 kB / 348.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.04833, allocations: 37.7 kB / 348.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.04861, allocations: 395.8 kB / 348.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.04881, allocations: 230 kB / 348.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.04903, allocations: 138.6 kB / 349.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.04922, allocations: 346.8 kB / 349.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.04967, allocations: 229.8 kB / 349.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.0503, allocations: 443.4 kB / 350.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.05148, allocations: 0.7046 MB / 350.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.05148, allocations: 0 / 350.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001402/0.05288, allocations: 0.7433 MB / 351.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.0529, allocations: 8.125 kB / 351.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.05291, allocations: 12 kB / 351.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.05294, allocations: 12 kB / 351.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.05369, allocations: 191.7 kB / 351.7 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/0.05371, allocations: 19.88 kB / 351.8 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.05415, allocations: 79.44 kB / 351.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.0542, allocations: 28 kB / 351.9 MB, free: 9.832 MB / 318.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.0003151/0.05452, allocations: 229.6 kB / 352.1 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.05463, allocations: 35.77 kB / 352.1 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.05595, allocations: 0.6462 MB / 352.8 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.05596, allocations: 8 kB / 352.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.05597, allocations: 0 / 352.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.05598, allocations: 7.922 kB / 352.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.05836, allocations: 1.268 MB / 354.1 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.05836, allocations: 0 / 354.1 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.05898, allocations: 139.8 kB / 354.2 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.05899, allocations: 4 kB / 354.2 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.05904, allocations: 23.92 kB / 354.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.05904, allocations: 0 / 354.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.05904, allocations: 4 kB / 354.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.06079, allocations: 1.12 MB / 355.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.06086, allocations: 51.59 kB / 355.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.06092, allocations: 12 kB / 355.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.06129, allocations: 23.98 kB / 355.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.06139, allocations: 40.58 kB / 355.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.06144, allocations: 27.92 kB / 355.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.06162, allocations: 173.2 kB / 355.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06162, allocations: 0 / 355.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007932/0.06241, allocations: 235.4 kB / 355.9 MB, free: 5.73 MB / 318.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.0002874/0.0627, allocations: 155 kB / 356 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.06381, allocations: 0.5731 MB / 356.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.06381, allocations: 0 / 356.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.06429, allocations: 267.7 kB / 356.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.06482, allocations: 40.48 kB / 356.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.06688, allocations: 1.184 MB / 358.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.0672, allocations: 303.8 kB / 358.4 MB, free: 3.152 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.06748, allocations: 76.33 kB / 358.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.06764, allocations: 56.48 kB / 358.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.06764, allocations: 0 / 358.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of Templates: time 0.01081/0.07845, allocations: 4.344 MB / 362.9 MB, free: 14.73 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.455383967608213]