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.001513/0.001513, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001445/0.001445, allocations: 212.4 kB / 24.48 MB, free: 3.957 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.414/1.414, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.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 0.001556/0.001556, allocations: 48.06 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.248, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007242/0.2552, allocations: 5.017 MB / 437.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.259, allocations: 1.771 MB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.2595, allocations: 23.94 kB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.2633, allocations: 1.493 MB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.2653, allocations: 0.5894 MB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009584/0.2663, allocations: 383 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.2674, allocations: 0.8016 MB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.2687, allocations: 0.7588 MB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.2692, allocations: 374.6 kB / 443.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005912/0.2698, allocations: 494.1 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.2699, allocations: 76 kB / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.2704, allocations: 239.9 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.2706, allocations: 187.2 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.2709, allocations: 342.4 kB / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.2724, allocations: 1.181 MB / 446 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2724, allocations: 0 / 446 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2724, allocations: 0 / 446 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2725, allocations: 0 / 446 MB, free: 8.957 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.003447/0.2759, allocations: 1.3 MB / 447.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2759, allocations: 12.03 kB / 447.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/0.2806, allocations: 0.617 MB / 447.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008185/0.2814, allocations: 365.3 kB / 448.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.2815, allocations: 74.38 kB / 448.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.2817, allocations: 96.31 kB / 448.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.2835, allocations: 1.015 MB / 449.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.2836, allocations: 0 / 449.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.352e-05/0.2837, allocations: 40 kB / 449.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.2837, allocations: 28 kB / 449.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.2854, allocations: 0.9213 MB / 450.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004797/0.2902, allocations: 2.792 MB / 453.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.2921, allocations: 0.7554 MB / 454 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.2926, allocations: 259.4 kB / 454.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2927, allocations: 28.62 kB / 454.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.2927, allocations: 43.22 kB / 454.3 MB, free: 396 kB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 3.086e-06/0.2927, allocations: 3.938 kB / 454.3 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001501/0.2942, allocations: 0.7282 MB / 455.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.2943, allocations: 111.5 kB / 455.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.2946, allocations: 264.7 kB / 455.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.2947, allocations: 37.7 kB / 455.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.2949, allocations: 388 kB / 455.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.2951, allocations: 233.9 kB / 456.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.2954, allocations: 142.6 kB / 456.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2955, allocations: 350.8 kB / 456.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.296, allocations: 226 kB / 456.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.2966, allocations: 440.1 kB / 457.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.2977, allocations: 0.6929 MB / 457.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.2977, allocations: 0 / 457.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001399/0.2991, allocations: 0.7628 MB / 458.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2991, allocations: 4 kB / 458.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.2991, allocations: 8 kB / 458.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.2991, allocations: 15.94 kB / 458.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.2999, allocations: 183.7 kB / 458.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.243e-05/0.2999, allocations: 19.92 kB / 458.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.3004, allocations: 79.45 kB / 459 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.3004, allocations: 36.14 kB / 459 MB, free: 11.46 MB / 366.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.0003224/0.3007, allocations: 221.6 kB / 459.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.301, allocations: 35.77 kB / 459.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3023, allocations: 0.6539 MB / 459.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3023, allocations: 8 kB / 459.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3023, allocations: 0 / 459.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3023, allocations: 0 / 459.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.3047, allocations: 1.276 MB / 461.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3047, allocations: 0 / 461.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.3054, allocations: 135.8 kB / 461.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.3054, allocations: 4 kB / 461.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.3054, allocations: 23.98 kB / 461.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3054, allocations: 0 / 461.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3054, allocations: 8 kB / 461.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.3071, allocations: 1.131 MB / 462.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.3072, allocations: 39.64 kB / 462.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.3073, allocations: 16 kB / 462.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.3077, allocations: 19.98 kB / 462.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.3078, allocations: 52.5 kB / 462.6 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.3078, allocations: 19.94 kB / 462.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.308, allocations: 176.5 kB / 462.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.308, allocations: 0 / 462.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008673/0.3089, allocations: 231.3 kB / 463 MB, free: 7.359 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.0002985/0.3092, allocations: 151 kB / 463.2 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.3103, allocations: 0.5768 MB / 463.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3103, allocations: 0 / 463.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.3108, allocations: 267.6 kB / 464 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.3114, allocations: 36.44 kB / 464.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.3136, allocations: 1.293 MB / 465.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3139, allocations: 315.7 kB / 465.7 MB, free: 4.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.3141, allocations: 59.42 kB / 465.7 MB, free: 4.598 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3141, allocations: 0 / 465.7 MB, free: 4.598 MB / 366.1 MB Notification: Performance of Templates: time 0.01262/0.3267, allocations: 7.794 MB / 473.5 MB, free: 12.8 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/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: 7.180706448009005]