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.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.001721/0.001721, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 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.002078/0.002078, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.595/1.595, allocations: 207.6 MB / 236 MB, free: 9.992 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 51.92 kB / 348.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2649, allocations: 49.15 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006145/0.2711, allocations: 5.931 MB / 403.5 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.2746, allocations: 1.922 MB / 405.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.2752, allocations: 23.5 kB / 405.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.2785, allocations: 1.647 MB / 407.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.2804, allocations: 0.6585 MB / 407.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.2812, allocations: 420.4 kB / 408.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.2823, allocations: 0.8954 MB / 409.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2834, allocations: 0.791 MB / 409.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005065/0.2839, allocations: 394.6 kB / 410.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.2846, allocations: 0.5385 MB / 410.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.2847, allocations: 83.25 kB / 410.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006583/0.2853, allocations: 247.2 kB / 411.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.2855, allocations: 207.2 kB / 411.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.2858, allocations: 461.3 kB / 411.8 MB, free: 304 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.2876, allocations: 1.247 MB / 413 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2876, allocations: 1.594 kB / 413 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2876, allocations: 0 / 413 MB, free: 15.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.2876, allocations: 0 / 413 MB, free: 15.63 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.003565/0.2912, allocations: 1.377 MB / 414.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.2913, allocations: 13.39 kB / 414.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006672/0.2979, allocations: 0.9613 MB / 415.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.299, allocations: 397.2 kB / 415.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.2991, allocations: 82.33 kB / 415.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.2993, allocations: 110.1 kB / 416 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.3015, allocations: 1.135 MB / 417.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.3015, allocations: 1.094 kB / 417.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3016, allocations: 49.16 kB / 417.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.3016, allocations: 26.5 kB / 417.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.3037, allocations: 1.131 MB / 418.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005574/0.3093, allocations: 3.516 MB / 421.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.3115, allocations: 0.9306 MB / 422.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.3119, allocations: 279.1 kB / 423 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.444e-05/0.312, allocations: 21.12 kB / 423 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.3121, allocations: 51.28 kB / 423.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.806e-06/0.3121, allocations: 0 / 423.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001526/0.3136, allocations: 0.7633 MB / 423.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.3137, allocations: 114.7 kB / 424 MB, free: 8.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.314, allocations: 324.4 kB / 424.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.3141, allocations: 36.98 kB / 424.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.3144, allocations: 461.2 kB / 424.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.3146, allocations: 253.8 kB / 425 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.3149, allocations: 178.5 kB / 425.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.315, allocations: 350.8 kB / 425.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.3155, allocations: 249.9 kB / 425.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006828/0.3162, allocations: 0.563 MB / 426.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.3174, allocations: 0.8719 MB / 427.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3174, allocations: 4 kB / 427.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001534/0.319, allocations: 0.8952 MB / 428.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.319, allocations: 19.92 kB / 428.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.319, allocations: 12 kB / 428.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.319, allocations: 16 kB / 428.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008049/0.3198, allocations: 236.3 kB / 428.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/0.3199, allocations: 23.92 kB / 428.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.3204, allocations: 107.2 kB / 428.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.3205, allocations: 47.98 kB / 428.6 MB, free: 3.754 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.0003528/0.3208, allocations: 237.5 kB / 428.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.3209, allocations: 51.66 kB / 428.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.3223, allocations: 0.6822 MB / 429.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.3223, allocations: 8 kB / 429.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3223, allocations: 4 kB / 429.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3223, allocations: 7.984 kB / 429.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.3248, allocations: 1.541 MB / 431.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3248, allocations: 3.938 kB / 431.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.3254, allocations: 151.8 kB / 431.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.3254, allocations: 4 kB / 431.2 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.3255, allocations: 16 kB / 431.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.3255, allocations: 11.88 kB / 431.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3255, allocations: 0 / 431.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.3272, allocations: 1.17 MB / 432.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3273, allocations: 59.45 kB / 432.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.3273, allocations: 19.98 kB / 432.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.3277, allocations: 20 kB / 432.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3278, allocations: 48.56 kB / 432.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.3278, allocations: 23.98 kB / 432.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.3281, allocations: 211.1 kB / 432.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3281, allocations: 0 / 432.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009245/0.329, allocations: 251.3 kB / 433.1 MB, free: 15.17 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.0002651/0.3293, allocations: 147.2 kB / 433.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.3305, allocations: 0.6395 MB / 433.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3305, allocations: 0 / 433.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.331, allocations: 287.5 kB / 434.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.3315, allocations: 62.08 kB / 434.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.3342, allocations: 1.438 MB / 435.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.3348, allocations: 0.9242 MB / 436.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.335, allocations: 67.42 kB / 436.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.335, allocations: 0 / 436.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Templates: time 0.01287/0.3479, allocations: 8.099 MB / 444.7 MB, free: 3.422 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/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: 7.8046172701288015]