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.001937/0.001937, allocations: 98.45 kB / 21.93 MB, free: 5.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.002159/0.002159, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.47/1.47, allocations: 207.7 MB / 236.1 MB, free: 9.785 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.001973/0.001973, allocations: 56.44 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.286, allocations: 49.16 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006011/0.2921, allocations: 5.221 MB / 402.8 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003897/0.296, allocations: 1.798 MB / 404.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006341/0.2966, allocations: 19.5 kB / 404.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.3, allocations: 1.515 MB / 406.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.3022, allocations: 0.6481 MB / 406.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3033, allocations: 395.5 kB / 407.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.3047, allocations: 0.9036 MB / 408.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.3058, allocations: 0.7703 MB / 408.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.3064, allocations: 399.2 kB / 409.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.3069, allocations: 483.2 kB / 409.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.307, allocations: 84.16 kB / 409.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.3076, allocations: 232.5 kB / 410 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3078, allocations: 204 kB / 410.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.3081, allocations: 382.3 kB / 410.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.3095, allocations: 1.253 MB / 411.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3095, allocations: 1.094 kB / 411.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3095, allocations: 4 kB / 411.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.3096, allocations: 0 / 411.9 MB, free: 0.7461 MB / 318.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.003325/0.3129, allocations: 1.367 MB / 413.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3129, allocations: 16.92 kB / 413.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006778/0.3197, allocations: 0.9654 MB / 414.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009781/0.3207, allocations: 393.7 kB / 414.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.3208, allocations: 82.23 kB / 414.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.3209, allocations: 105.8 kB / 414.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.3232, allocations: 1.165 MB / 415.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.3232, allocations: 1.031 kB / 415.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.3233, allocations: 40.5 kB / 416 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.3234, allocations: 26.94 kB / 416 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.3255, allocations: 1.125 MB / 417.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005503/0.331, allocations: 3.103 MB / 420.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.3332, allocations: 0.9069 MB / 421.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.3337, allocations: 275.8 kB / 421.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.1e-05/0.3337, allocations: 21.11 kB / 421.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.3338, allocations: 44.25 kB / 421.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.915e-06/0.3338, allocations: 0 / 421.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001565/0.3354, allocations: 0.7623 MB / 422.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.3354, allocations: 110.9 kB / 422.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.3359, allocations: 336.7 kB / 422.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.3359, allocations: 33.7 kB / 422.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.3362, allocations: 455.7 kB / 423.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.3365, allocations: 269.7 kB / 423.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.3367, allocations: 166.6 kB / 423.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3369, allocations: 363 kB / 423.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.3373, allocations: 245.9 kB / 424.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.3381, allocations: 0.563 MB / 424.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.3393, allocations: 0.8758 MB / 425.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3393, allocations: 4 kB / 425.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00157/0.3409, allocations: 0.8954 MB / 426.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3409, allocations: 8 kB / 426.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3409, allocations: 19.88 kB / 426.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.341, allocations: 16 kB / 426.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.3418, allocations: 236.1 kB / 426.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.3418, allocations: 19.94 kB / 426.8 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.3424, allocations: 111.2 kB / 426.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.3424, allocations: 44 kB / 427 MB, free: 5.18 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.0003998/0.3428, allocations: 241.5 kB / 427.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.343, allocations: 47.72 kB / 427.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3443, allocations: 0.6854 MB / 427.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.3443, allocations: 8 kB / 427.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3443, allocations: 0 / 427.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3443, allocations: 3.984 kB / 427.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.3469, allocations: 1.347 MB / 429.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3469, allocations: 0 / 429.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.3475, allocations: 151.7 kB / 429.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.3475, allocations: 4 kB / 429.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.3475, allocations: 15.94 kB / 429.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3475, allocations: 4 kB / 429.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3475, allocations: 4 kB / 429.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.3492, allocations: 1.166 MB / 430.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3493, allocations: 59.5 kB / 430.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.3494, allocations: 23.92 kB / 430.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.3498, allocations: 16 kB / 430.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3499, allocations: 48.56 kB / 430.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.3499, allocations: 27.98 kB / 430.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.3502, allocations: 199.1 kB / 431 MB, free: 1.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3502, allocations: 0 / 431 MB, free: 1.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009096/0.3511, allocations: 247.3 kB / 431.2 MB, free: 0.8281 MB / 334.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.0002599/0.3513, allocations: 143.2 kB / 431.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.3525, allocations: 0.6511 MB / 432 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3525, allocations: 0 / 432 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000488/0.353, allocations: 279.7 kB / 432.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.3536, allocations: 49.84 kB / 432.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.3562, allocations: 1.453 MB / 433.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.3566, allocations: 329.2 kB / 434.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.3569, allocations: 63.42 kB / 434.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3569, allocations: 0 / 434.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01318/0.37, allocations: 8.356 MB / 442.5 MB, free: 5.426 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.4438925492577255]