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.001419/0.001419, allocations: 116.5 kB / 18.45 MB, free: 4.602 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.001304/0.001304, allocations: 190.7 kB / 21.4 MB, free: 1.664 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.443/1.443, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.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: 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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 55.92 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09202, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007249/0.09926, allocations: 5.636 MB / 424.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.1026, allocations: 1.818 MB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.1029, allocations: 23.94 kB / 426.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003668/0.1066, allocations: 1.625 MB / 428.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.1085, allocations: 0.7525 MB / 428.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.1092, allocations: 267.5 kB / 429.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009763/0.1101, allocations: 0.8168 MB / 429.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.1112, allocations: 0.6573 MB / 430.5 MB, free: 452 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/0.1118, allocations: 354.7 kB / 430.9 MB, free: 96 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.1124, allocations: 494.2 kB / 431.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1126, allocations: 80 kB / 431.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005566/0.1131, allocations: 243.8 kB / 431.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.1133, allocations: 187.3 kB / 431.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.1137, allocations: 421.9 kB / 432.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.1151, allocations: 1.171 MB / 433.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1151, allocations: 4 kB / 433.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1151, allocations: 0 / 433.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1152, allocations: 0 / 433.5 MB, free: 13.52 MB / 366.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.003542/0.1187, allocations: 1.368 MB / 434.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1187, allocations: 12.03 kB / 434.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004926/0.1237, allocations: 0.6443 MB / 435.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/0.1244, allocations: 433.1 kB / 435.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/0.1245, allocations: 78.3 kB / 436 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.1246, allocations: 100.3 kB / 436.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.1265, allocations: 0.9901 MB / 437.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.1265, allocations: 0 / 437.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.1266, allocations: 40 kB / 437.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.1266, allocations: 24 kB / 437.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.1284, allocations: 0.918 MB / 438 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.1334, allocations: 3.34 MB / 441.4 MB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.1361, allocations: 2.179 MB / 443.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.1366, allocations: 256.2 kB / 443.8 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.1367, allocations: 101.6 kB / 443.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.1367, allocations: 39.12 kB / 444 MB, free: 2.344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.595e-06/0.1367, allocations: 0 / 444 MB, free: 2.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001491/0.1382, allocations: 0.7175 MB / 444.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.1383, allocations: 115.4 kB / 444.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.1386, allocations: 274.5 kB / 445.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.1387, allocations: 37.7 kB / 445.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.1389, allocations: 388 kB / 445.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.1391, allocations: 242 kB / 445.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.1393, allocations: 130.6 kB / 445.8 MB, free: 416 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1395, allocations: 350.8 kB / 446.2 MB, free: 56 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1739/0.3134, allocations: 225.8 kB / 446.4 MB, free: 29.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.3138, allocations: 432.6 kB / 446.8 MB, free: 29.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.3146, allocations: 0.6967 MB / 447.5 MB, free: 29.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3146, allocations: 2.875 kB / 447.5 MB, free: 29.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001098/0.3157, allocations: 0.7464 MB / 448.3 MB, free: 29.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3157, allocations: 12.06 kB / 448.3 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3157, allocations: 8.062 kB / 448.3 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.3157, allocations: 12.47 kB / 448.3 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.3164, allocations: 190.7 kB / 448.5 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.3164, allocations: 14.39 kB / 448.5 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.3168, allocations: 78.58 kB / 448.6 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.3168, allocations: 38.58 kB / 448.6 MB, free: 29.28 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.0002458/0.317, allocations: 220.5 kB / 448.8 MB, free: 29.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.3171, allocations: 40.89 kB / 448.9 MB, free: 29.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009926/0.3181, allocations: 0.6497 MB / 449.5 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3181, allocations: 11.09 kB / 449.5 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3182, allocations: 2.188 kB / 449.5 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3182, allocations: 6.578 kB / 449.5 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.32, allocations: 1.474 MB / 451 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.32, allocations: 1.594 kB / 451 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.3206, allocations: 143.6 kB / 451.2 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3206, allocations: 2.781 kB / 451.2 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.3206, allocations: 19.52 kB / 451.2 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3206, allocations: 3.969 kB / 451.2 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3206, allocations: 4.953 kB / 451.2 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.322, allocations: 1.119 MB / 452.3 MB, free: 28.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.3221, allocations: 130.5 kB / 452.4 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.3222, allocations: 13.94 kB / 452.4 MB, free: 28.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.3225, allocations: 21.02 kB / 452.5 MB, free: 28.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.3226, allocations: 48.2 kB / 452.5 MB, free: 28.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.3227, allocations: 19.89 kB / 452.5 MB, free: 28.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3228, allocations: 184.6 kB / 452.7 MB, free: 28.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3228, allocations: 1.156 kB / 452.7 MB, free: 28.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007159/0.3235, allocations: 219.2 kB / 452.9 MB, free: 28.06 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.0002221/0.3238, allocations: 161.5 kB / 453.1 MB, free: 27.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.3249, allocations: 0.5707 MB / 453.7 MB, free: 27.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3249, allocations: 0.5 kB / 453.7 MB, free: 27.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.3253, allocations: 273.5 kB / 453.9 MB, free: 27.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.3258, allocations: 41.59 kB / 454 MB, free: 27.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3276, allocations: 1.291 MB / 455.3 MB, free: 26.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.328, allocations: 0.8994 MB / 456.2 MB, free: 26.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.3282, allocations: 57.48 kB / 456.2 MB, free: 26.17 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3282, allocations: 0 / 456.2 MB, free: 26.17 MB / 366.1 MB Notification: Performance of Templates: time 0.01275/0.3409, allocations: 7.307 MB / 463.5 MB, free: 25.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.074230602942407]