Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002028/0.002028, allocations: 215.3 kB / 23 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.89 kB / 376.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2464, allocations: 53.31 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007518/0.2539, allocations: 5.667 MB / 435.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.2577, allocations: 1.9 MB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.258, allocations: 20 kB / 437.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.2615, allocations: 1.614 MB / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.2629, allocations: 0.6096 MB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/0.2637, allocations: 410.8 kB / 440 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008574/0.2646, allocations: 0.794 MB / 440.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.2656, allocations: 0.6805 MB / 441.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.2661, allocations: 358.6 kB / 441.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.2666, allocations: 490.2 kB / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.2667, allocations: 76 kB / 442.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.2672, allocations: 251.8 kB / 442.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.2674, allocations: 187.3 kB / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003637/0.2677, allocations: 418 kB / 443.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.2691, allocations: 1.173 MB / 444.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2691, allocations: 4 kB / 444.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2691, allocations: 0 / 444.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.2691, allocations: 3.938 kB / 444.4 MB, free: 8.891 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.003259/0.2723, allocations: 1.368 MB / 445.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2724, allocations: 8.031 kB / 445.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/0.2769, allocations: 0.6248 MB / 446.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.2775, allocations: 423.1 kB / 446.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.2776, allocations: 70.38 kB / 446.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.2778, allocations: 92.38 kB / 447 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.2795, allocations: 0.9902 MB / 448 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.2795, allocations: 7.938 kB / 448 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/0.2796, allocations: 40 kB / 448 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.2796, allocations: 24 kB / 448 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.2813, allocations: 0.9369 MB / 449 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/0.2862, allocations: 3.435 MB / 452.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.2888, allocations: 2.184 MB / 454.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.2892, allocations: 252.2 kB / 454.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.2894, allocations: 182.8 kB / 455 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2895, allocations: 43.06 kB / 455 MB, free: 13.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.615e-06/0.2895, allocations: 0 / 455 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001469/0.2909, allocations: 0.729 MB / 455.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.291, allocations: 115.6 kB / 455.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.2913, allocations: 270.5 kB / 456.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.2914, allocations: 33.7 kB / 456.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.2916, allocations: 391.9 kB / 456.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.2918, allocations: 238 kB / 456.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.292, allocations: 134.6 kB / 456.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2922, allocations: 346.8 kB / 457.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.2927, allocations: 229.9 kB / 457.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.2933, allocations: 439.3 kB / 457.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.2944, allocations: 0.6989 MB / 458.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2944, allocations: 0 / 458.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001364/0.2957, allocations: 0.7567 MB / 459.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2958, allocations: 15.88 kB / 459.4 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.2958, allocations: 8.062 kB / 459.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.2958, allocations: 12 kB / 459.4 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.2965, allocations: 199.6 kB / 459.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.2966, allocations: 11.94 kB / 459.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.297, allocations: 83.39 kB / 459.7 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.297, allocations: 32 kB / 459.7 MB, free: 8.57 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.0003307/0.2974, allocations: 225.6 kB / 460 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.2975, allocations: 43.7 kB / 460 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.2987, allocations: 0.644 MB / 460.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.2988, allocations: 8 kB / 460.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2988, allocations: 4 kB / 460.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.2988, allocations: 3.984 kB / 460.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.3012, allocations: 1.477 MB / 462.1 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3012, allocations: 4 kB / 462.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.3018, allocations: 135.9 kB / 462.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.3018, allocations: 4 kB / 462.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.3019, allocations: 23.98 kB / 462.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.3019, allocations: 11.88 kB / 462.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3019, allocations: 4 kB / 462.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.3036, allocations: 1.115 MB / 463.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3037, allocations: 128.7 kB / 463.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.3038, allocations: 16.06 kB / 463.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.3041, allocations: 27.92 kB / 463.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3042, allocations: 48.48 kB / 463.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.3043, allocations: 20 kB / 463.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.3045, allocations: 185.9 kB / 463.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3045, allocations: 0 / 463.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007661/0.3052, allocations: 231.3 kB / 464.1 MB, free: 4.125 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.0002621/0.3055, allocations: 147.1 kB / 464.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3066, allocations: 0.5755 MB / 464.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3066, allocations: 0 / 464.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004678/0.3071, allocations: 271.5 kB / 465.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.3076, allocations: 40.55 kB / 465.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.3097, allocations: 1.262 MB / 466.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.3103, allocations: 0.9084 MB / 467.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003075/0.3106, allocations: 84.31 kB / 467.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3107, allocations: 51.42 kB / 467.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3107, allocations: 0 / 467.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of Templates: time 0.01096/0.3217, allocations: 5.174 MB / 472.6 MB, free: 11.57 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.636467419564724]