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.001315/0.001315, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001615/0.001615, allocations: 209.9 kB / 23.73 MB, free: 4.41 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.836 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.00155/0.00155, allocations: 47.92 kB / 378.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2483, allocations: 53.36 MB / 431.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006986/0.2553, allocations: 5.023 MB / 436.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.2586, allocations: 1.764 MB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.2589, allocations: 23.94 kB / 438.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.2624, allocations: 1.485 MB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.2638, allocations: 0.5933 MB / 440.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.2646, allocations: 391 kB / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000911/0.2655, allocations: 0.8016 MB / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.2667, allocations: 0.7431 MB / 442.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.2671, allocations: 362.6 kB / 442.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005663/0.2677, allocations: 430.2 kB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.2678, allocations: 80 kB / 443.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.2683, allocations: 227.9 kB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.2684, allocations: 195.3 kB / 443.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.2688, allocations: 342.4 kB / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.2701, allocations: 1.185 MB / 445.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2701, allocations: 0 / 445.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2701, allocations: 0 / 445.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.2701, allocations: 0 / 445.2 MB, free: 9.094 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.003316/0.2734, allocations: 1.293 MB / 446.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2735, allocations: 11.97 kB / 446.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/0.2781, allocations: 0.6209 MB / 447.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006912/0.2787, allocations: 368.1 kB / 447.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.2788, allocations: 78.31 kB / 447.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.279, allocations: 96.38 kB / 447.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.2807, allocations: 1.011 MB / 448.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.2808, allocations: 7.938 kB / 448.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/0.2809, allocations: 40 kB / 448.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.2809, allocations: 24 kB / 448.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.2826, allocations: 0.9252 MB / 449.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004584/0.2872, allocations: 2.792 MB / 452.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.2891, allocations: 0.7399 MB / 453.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.2895, allocations: 256.4 kB / 453.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-05/0.2896, allocations: 24.64 kB / 453.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.2897, allocations: 47.14 kB / 453.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.825e-06/0.2897, allocations: 0 / 453.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001471/0.2911, allocations: 0.7202 MB / 454.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.2912, allocations: 115.7 kB / 454.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.2915, allocations: 264.7 kB / 454.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.2915, allocations: 37.7 kB / 454.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.2918, allocations: 395.9 kB / 455 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.292, allocations: 230 kB / 455.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.2922, allocations: 146.5 kB / 455.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2923, allocations: 346.8 kB / 455.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.2927, allocations: 225.9 kB / 455.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.2933, allocations: 436.1 kB / 456.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2944, allocations: 0.7047 MB / 457.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.2944, allocations: 4 kB / 457.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001317/0.2958, allocations: 0.7465 MB / 457.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2958, allocations: 12.86 kB / 457.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2958, allocations: 8 kB / 457.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.2958, allocations: 15.94 kB / 457.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.2965, allocations: 191.7 kB / 458 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.2965, allocations: 15.94 kB / 458 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.2969, allocations: 75.44 kB / 458.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.297, allocations: 35.98 kB / 458.2 MB, free: 11.61 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.0002767/0.2972, allocations: 217.6 kB / 458.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.2974, allocations: 43.72 kB / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.2986, allocations: 0.6501 MB / 459.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.2986, allocations: 11.92 kB / 459.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2986, allocations: 4 kB / 459.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.2986, allocations: 3.984 kB / 459.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.3009, allocations: 1.261 MB / 460.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3009, allocations: 11.94 kB / 460.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.3015, allocations: 135.9 kB / 460.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3015, allocations: 4 kB / 460.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.3015, allocations: 19.98 kB / 460.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3015, allocations: 4 kB / 460.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3016, allocations: 11.81 kB / 460.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.3033, allocations: 1.12 MB / 461.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.3033, allocations: 51.66 kB / 461.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.3034, allocations: 12 kB / 461.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.3037, allocations: 19.98 kB / 461.7 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3038, allocations: 52.5 kB / 461.8 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.3039, allocations: 20 kB / 461.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.3041, allocations: 168.5 kB / 462 MB, free: 7.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3041, allocations: 0 / 462 MB, free: 7.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007399/0.3048, allocations: 231.3 kB / 462.2 MB, free: 7.504 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.0002394/0.305, allocations: 147.1 kB / 462.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.3061, allocations: 0.5768 MB / 462.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3061, allocations: 0 / 462.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.3066, allocations: 280 kB / 463.2 MB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.3071, allocations: 43.25 kB / 463.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3091, allocations: 1.256 MB / 464.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.3094, allocations: 303.7 kB / 464.8 MB, free: 4.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.3097, allocations: 80.34 kB / 464.9 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.3099, allocations: 47.42 kB / 464.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3099, allocations: 0 / 464.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of Templates: time 0.01113/0.321, allocations: 5.15 MB / 470.1 MB, free: 15.6 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/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.769563568755984]