Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.00187/0.00187, allocations: 104.8 kB / 21.18 MB, free: 0.707 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.002293/0.002293, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 55.91 kB / 347.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2417, allocations: 49.15 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.00562/0.2473, allocations: 5.923 MB / 402.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.2501, allocations: 1.918 MB / 404.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.2503, allocations: 19.22 kB / 404.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.2532, allocations: 1.651 MB / 406.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.2549, allocations: 0.8267 MB / 407.1 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.2554, allocations: 287.9 kB / 407.4 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007685/0.2562, allocations: 0.8928 MB / 408.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009021/0.2571, allocations: 0.678 MB / 409 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004463/0.2575, allocations: 403.5 kB / 409.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.2581, allocations: 0.5257 MB / 409.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2582, allocations: 87.88 kB / 410 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.2586, allocations: 247.3 kB / 410.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2588, allocations: 207.1 kB / 410.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.2591, allocations: 461.9 kB / 410.9 MB, free: 364 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.2605, allocations: 1.241 MB / 412.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2606, allocations: 0 / 412.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2606, allocations: 1.562 kB / 412.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2606, allocations: 0 / 412.1 MB, free: 15.73 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003433/0.264, allocations: 1.381 MB / 413.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.264, allocations: 18.05 kB / 413.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006579/0.2706, allocations: 0.9658 MB / 414.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/0.2714, allocations: 393 kB / 414.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.2715, allocations: 84.89 kB / 415 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.2716, allocations: 112.5 kB / 415.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.2736, allocations: 1.125 MB / 416.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.2736, allocations: 1.312 kB / 416.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/0.2737, allocations: 45.31 kB / 416.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.2737, allocations: 26.84 kB / 416.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.2757, allocations: 1.136 MB / 417.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005373/0.2811, allocations: 3.515 MB / 420.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.2831, allocations: 0.9274 MB / 421.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.2836, allocations: 283.9 kB / 422.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.2837, allocations: 19.78 kB / 422.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.2837, allocations: 51.25 kB / 422.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.144e-06/0.2837, allocations: 0 / 422.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001383/0.2851, allocations: 0.7555 MB / 423 MB, free: 8.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.2852, allocations: 114.6 kB / 423.1 MB, free: 8.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.2855, allocations: 325.2 kB / 423.4 MB, free: 8.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.2856, allocations: 35.86 kB / 423.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.2859, allocations: 466.8 kB / 423.9 MB, free: 7.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.2861, allocations: 253.8 kB / 424.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.2863, allocations: 178.5 kB / 424.3 MB, free: 7.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2865, allocations: 354.8 kB / 424.6 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.287, allocations: 241.9 kB / 424.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/0.2877, allocations: 0.563 MB / 425.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.2889, allocations: 0.8758 MB / 426.3 MB, free: 5.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2889, allocations: 4 kB / 426.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001495/0.2904, allocations: 0.8994 MB / 427.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2904, allocations: 11.94 kB / 427.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.2904, allocations: 12 kB / 427.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.2904, allocations: 16 kB / 427.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.2912, allocations: 235.6 kB / 427.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.2912, allocations: 19.94 kB / 427.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.2917, allocations: 115.6 kB / 427.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.2918, allocations: 40 kB / 427.7 MB, free: 3.879 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0002963/0.2921, allocations: 245.5 kB / 427.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2922, allocations: 51.66 kB / 428 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.2934, allocations: 0.6861 MB / 428.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.2934, allocations: 8 kB / 428.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2934, allocations: 0 / 428.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.2934, allocations: 11.92 kB / 428.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.2958, allocations: 1.541 MB / 430.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2958, allocations: 3.938 kB / 430.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.2964, allocations: 143.8 kB / 430.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2964, allocations: 4 kB / 430.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.2964, allocations: 19.98 kB / 430.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.2964, allocations: 11.94 kB / 430.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2964, allocations: 0 / 430.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.2981, allocations: 1.163 MB / 431.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.2981, allocations: 63.52 kB / 431.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.2982, allocations: 16 kB / 431.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.2985, allocations: 19.98 kB / 431.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/0.2986, allocations: 52.56 kB / 431.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.2987, allocations: 20 kB / 431.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.2989, allocations: 211.1 kB / 431.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2989, allocations: 0 / 431.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007961/0.2997, allocations: 247.3 kB / 432.2 MB, free: 15.3 MB / 350.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 (78): * Single equations (assignments): 78 * 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.0002288/0.2999, allocations: 143.2 kB / 432.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.301, allocations: 0.6482 MB / 432.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.301, allocations: 4.062 kB / 433 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.3015, allocations: 287.6 kB / 433.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.302, allocations: 48.97 kB / 433.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.3043, allocations: 1.417 MB / 434.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.3049, allocations: 0.9242 MB / 435.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003453/0.3052, allocations: 96.88 kB / 435.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.3054, allocations: 51.44 kB / 435.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3054, allocations: 0 / 435.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Templates: time 0.01224/0.3176, allocations: 5.784 MB / 441.6 MB, free: 5.824 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.548195671290159]