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.001567/0.001567, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.001857/0.001857, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.388/1.388, allocations: 225.6 MB / 250.8 MB, free: 13.35 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.001531/0.001531, allocations: 51.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2358, allocations: 52.14 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007223/0.243, allocations: 5.665 MB / 426.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.2469, allocations: 1.818 MB / 428.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.2474, allocations: 20 kB / 428.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003786/0.2512, allocations: 1.625 MB / 430 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.2534, allocations: 0.7608 MB / 430.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/0.2541, allocations: 275.4 kB / 431 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.2551, allocations: 0.8017 MB / 431.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.2562, allocations: 0.6611 MB / 432.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.2567, allocations: 358.6 kB / 432.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.2573, allocations: 494.1 kB / 433.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.2574, allocations: 80 kB / 433.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000556/0.258, allocations: 239.8 kB / 433.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.2581, allocations: 183.3 kB / 433.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.2585, allocations: 425.9 kB / 434.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.2601, allocations: 1.173 MB / 435.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2601, allocations: 0 / 435.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2601, allocations: 0 / 435.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.2601, allocations: 0 / 435.4 MB, free: 0.543 MB / 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.003477/0.2636, allocations: 1.368 MB / 436.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2636, allocations: 11.97 kB / 436.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.2683, allocations: 0.6638 MB / 437.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.269, allocations: 407.3 kB / 437.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.269, allocations: 78.31 kB / 437.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.2692, allocations: 96.33 kB / 438 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.271, allocations: 0.9863 MB / 439 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.271, allocations: 4 kB / 439 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.2711, allocations: 40 kB / 439 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.2711, allocations: 24 kB / 439.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.2728, allocations: 0.9218 MB / 440 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/0.2778, allocations: 3.344 MB / 443.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.2804, allocations: 2.175 MB / 445.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.2809, allocations: 259.2 kB / 445.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.281, allocations: 97.66 kB / 445.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.281, allocations: 47.06 kB / 445.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.194e-06/0.281, allocations: 0 / 445.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001389/0.2824, allocations: 0.7173 MB / 446.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.2825, allocations: 111.4 kB / 446.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.2828, allocations: 282.6 kB / 447 MB, free: 4.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.2829, allocations: 37.7 kB / 447 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.2831, allocations: 384 kB / 447.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.2833, allocations: 238 kB / 447.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.2835, allocations: 138.6 kB / 447.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2837, allocations: 346.8 kB / 448.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.2842, allocations: 217.9 kB / 448.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.2848, allocations: 447.3 kB / 448.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2858, allocations: 0.695 MB / 449.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.2858, allocations: 4 kB / 449.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001286/0.2871, allocations: 0.7444 MB / 450.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2871, allocations: 11.94 kB / 450.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2871, allocations: 4.75 kB / 450.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2872, allocations: 12 kB / 450.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.2878, allocations: 195.7 kB / 450.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.2879, allocations: 15.92 kB / 450.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.2882, allocations: 79.41 kB / 450.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.2883, allocations: 43.97 kB / 450.6 MB, free: 460 kB / 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.0002686/0.2886, allocations: 217.5 kB / 450.8 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2887, allocations: 47.66 kB / 450.8 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.2899, allocations: 0.6479 MB / 451.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.2899, allocations: 15.98 kB / 451.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2899, allocations: 0 / 451.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.29, allocations: 3.984 kB / 451.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.2923, allocations: 1.481 MB / 453 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2923, allocations: 3.938 kB / 453 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.2929, allocations: 143.9 kB / 453.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2929, allocations: 0 / 453.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.2929, allocations: 16 kB / 453.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.2929, allocations: 11.88 kB / 453.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2929, allocations: 4 kB / 453.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.2946, allocations: 1.116 MB / 454.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2947, allocations: 124.7 kB / 454.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.2947, allocations: 16 kB / 454.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.2951, allocations: 27.92 kB / 454.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/0.2952, allocations: 36.52 kB / 454.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.2952, allocations: 23.98 kB / 454.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.2954, allocations: 186 kB / 454.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2954, allocations: 0 / 454.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007125/0.2961, allocations: 227.3 kB / 454.9 MB, free: 12.01 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.0002365/0.2964, allocations: 151.1 kB / 455 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.2975, allocations: 0.5715 MB / 455.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2975, allocations: 0 / 455.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.298, allocations: 267 kB / 455.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.2985, allocations: 36.56 kB / 455.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.3005, allocations: 1.262 MB / 457.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.3011, allocations: 0.9045 MB / 458.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000289/0.3014, allocations: 76.39 kB / 458.1 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3015, allocations: 51.38 kB / 458.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3015, allocations: 0 / 458.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of Templates: time 0.01055/0.312, allocations: 5.074 MB / 463.3 MB, free: 3.566 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.505870055407286]