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.001331/0.001331, allocations: 112 kB / 20.43 MB, free: 1.449 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.001355/0.001355, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.406/1.406, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.001574/0.001574, allocations: 51.92 kB / 370.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2545, allocations: 52.17 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007386/0.2619, allocations: 5.673 MB / 428.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.2654, allocations: 1.818 MB / 430.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.2658, allocations: 20 kB / 430.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003715/0.2695, allocations: 1.633 MB / 432.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.2715, allocations: 0.7608 MB / 433 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.2721, allocations: 275.4 kB / 433.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008959/0.273, allocations: 0.8094 MB / 434.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.2741, allocations: 0.6693 MB / 434.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.2745, allocations: 358.7 kB / 435.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005817/0.2751, allocations: 490.2 kB / 435.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2752, allocations: 80 kB / 435.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.2757, allocations: 247.8 kB / 435.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.2759, allocations: 183.4 kB / 436.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.2762, allocations: 425.9 kB / 436.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.2776, allocations: 1.165 MB / 437.7 MB, free: 64 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2776, allocations: 0 / 437.7 MB, free: 64 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2776, allocations: 0 / 437.7 MB, free: 64 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.2776, allocations: 4 kB / 437.7 MB, free: 60 kB / 334.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.003442/0.281, allocations: 1.293 MB / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2811, allocations: 16.02 kB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.2858, allocations: 0.6482 MB / 439.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006597/0.2865, allocations: 361.3 kB / 440 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.2865, allocations: 74.38 kB / 440.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.2867, allocations: 100.3 kB / 440.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.2885, allocations: 0.9863 MB / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.2885, allocations: 0 / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.2886, allocations: 40 kB / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.2886, allocations: 24 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.2904, allocations: 0.9213 MB / 442.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.2953, allocations: 3.17 MB / 445.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.2973, allocations: 0.7552 MB / 446.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.2977, allocations: 252.4 kB / 446.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.266e-05/0.2978, allocations: 16.66 kB / 446.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.2978, allocations: 47.14 kB / 446.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.545e-06/0.2978, allocations: 0 / 446.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001467/0.2993, allocations: 0.7241 MB / 447.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.2994, allocations: 115.5 kB / 447.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.2997, allocations: 269.8 kB / 447.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.2997, allocations: 33.7 kB / 447.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.2999, allocations: 392 kB / 447.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.3001, allocations: 234 kB / 448.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.3003, allocations: 138.8 kB / 448.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3005, allocations: 346.8 kB / 448.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.3009, allocations: 225.8 kB / 448.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.3015, allocations: 435.4 kB / 449.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.3026, allocations: 0.7007 MB / 449.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3026, allocations: 0 / 449.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001294/0.3039, allocations: 0.7472 MB / 450.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3039, allocations: 14.44 kB / 450.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3039, allocations: 8 kB / 450.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3039, allocations: 8 kB / 450.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.3046, allocations: 191.7 kB / 450.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.3047, allocations: 19.92 kB / 450.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.3051, allocations: 83.59 kB / 451 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.3051, allocations: 32 kB / 451 MB, free: 2.207 MB / 350.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.0003168/0.3054, allocations: 221.6 kB / 451.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.3056, allocations: 47.66 kB / 451.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.3068, allocations: 0.6462 MB / 451.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3068, allocations: 8 kB / 451.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3069, allocations: 4 kB / 451.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.3069, allocations: 7.969 kB / 452 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.3093, allocations: 1.451 MB / 453.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3093, allocations: 4 kB / 453.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.3099, allocations: 143.7 kB / 453.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3099, allocations: 4 kB / 453.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.3099, allocations: 16 kB / 453.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.894e-06/0.3099, allocations: 7.938 kB / 453.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3099, allocations: 4 kB / 453.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.3116, allocations: 1.112 MB / 454.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.3117, allocations: 55.55 kB / 454.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/0.3117, allocations: 20.06 kB / 454.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.3121, allocations: 23.92 kB / 454.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.3122, allocations: 44.52 kB / 454.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.3123, allocations: 23.98 kB / 454.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3124, allocations: 181.2 kB / 455 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3124, allocations: 0 / 455 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007529/0.3132, allocations: 223.4 kB / 455.3 MB, free: 13.89 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.0002432/0.3134, allocations: 143.1 kB / 455.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3145, allocations: 0.5768 MB / 456 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3145, allocations: 0 / 456 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.315, allocations: 264 kB / 456.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.3155, allocations: 44.5 kB / 456.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3176, allocations: 1.267 MB / 457.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.3181, allocations: 0.9006 MB / 458.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.3184, allocations: 80.38 kB / 458.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.3186, allocations: 51.42 kB / 458.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3186, allocations: 0 / 458.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of Templates: time 0.01133/0.3299, allocations: 5.281 MB / 463.8 MB, free: 5.219 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.579500153660774]