Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001707/0.001707, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002127/0.002127, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.84 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2746, allocations: 53.32 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007391/0.282, allocations: 5.655 MB / 437.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.2856, allocations: 1.9 MB / 439.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.2859, allocations: 20 kB / 439.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003569/0.2895, allocations: 1.617 MB / 441.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.291, allocations: 0.5973 MB / 441.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.2919, allocations: 414.9 kB / 442.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009507/0.2928, allocations: 0.8056 MB / 443 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.2939, allocations: 0.6766 MB / 443.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.2944, allocations: 350.7 kB / 444.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.295, allocations: 498.1 kB / 444.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.961e-05/0.295, allocations: 80 kB / 444.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.2956, allocations: 239.9 kB / 444.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.2957, allocations: 191.2 kB / 445.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003798/0.2961, allocations: 418 kB / 445.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2975, allocations: 1.181 MB / 446.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2975, allocations: 4 kB / 446.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2975, allocations: 0 / 446.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.2975, allocations: 0 / 446.6 MB, free: 8.715 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.003292/0.3008, allocations: 1.368 MB / 448 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3009, allocations: 12.03 kB / 448 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.3054, allocations: 0.6208 MB / 448.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.3061, allocations: 426.5 kB / 449.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.3062, allocations: 78.3 kB / 449.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.3063, allocations: 96.38 kB / 449.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.308, allocations: 0.9902 MB / 450.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.308, allocations: 0 / 450.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.3081, allocations: 36 kB / 450.3 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.3081, allocations: 24 kB / 450.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.3097, allocations: 0.9369 MB / 451.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004843/0.3146, allocations: 3.435 MB / 454.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.3171, allocations: 2.176 MB / 456.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.3176, allocations: 252.2 kB / 457.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.3177, allocations: 190.6 kB / 457.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.3178, allocations: 43.06 kB / 457.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.3178, allocations: 0 / 457.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001406/0.3192, allocations: 0.7292 MB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.3192, allocations: 111.4 kB / 458.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.3195, allocations: 270.5 kB / 458.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.3196, allocations: 37.7 kB / 458.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.3198, allocations: 395.9 kB / 458.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.32, allocations: 230 kB / 459.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.3202, allocations: 138.6 kB / 459.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3204, allocations: 350.9 kB / 459.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.3208, allocations: 225.9 kB / 459.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.3214, allocations: 435.3 kB / 460.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.3224, allocations: 0.6989 MB / 460.9 MB, free: 9.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3224, allocations: 4 kB / 460.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001299/0.3237, allocations: 0.7605 MB / 461.6 MB, free: 8.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3237, allocations: 14.75 kB / 461.7 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3238, allocations: 8 kB / 461.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.3238, allocations: 12 kB / 461.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.3245, allocations: 187.7 kB / 461.9 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.903e-05/0.3245, allocations: 19.92 kB / 461.9 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.3249, allocations: 75.47 kB / 462 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.325, allocations: 44.11 kB / 462 MB, free: 8.395 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.0003045/0.3253, allocations: 225.5 kB / 462.2 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3254, allocations: 39.7 kB / 462.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3266, allocations: 0.6479 MB / 462.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3266, allocations: 11.94 kB / 462.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3266, allocations: 4 kB / 462.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3266, allocations: 3.984 kB / 462.9 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.3291, allocations: 1.481 MB / 464.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3291, allocations: 0 / 464.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.3297, allocations: 139.9 kB / 464.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3297, allocations: 4 kB / 464.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.3298, allocations: 20 kB / 464.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.3298, allocations: 7.938 kB / 464.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3298, allocations: 3.938 kB / 464.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3314, allocations: 1.123 MB / 465.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.3315, allocations: 128.7 kB / 465.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.3316, allocations: 12 kB / 465.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.332, allocations: 19.94 kB / 465.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.3321, allocations: 48.5 kB / 465.9 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.3321, allocations: 19.98 kB / 465.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.3323, allocations: 182 kB / 466.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3323, allocations: 0 / 466.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007464/0.333, allocations: 239.3 kB / 466.3 MB, free: 3.949 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.0002664/0.3333, allocations: 147.1 kB / 466.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3344, allocations: 0.5638 MB / 467 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.3344, allocations: 8.25 kB / 467 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.3348, allocations: 271 kB / 467.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.3353, allocations: 36.56 kB / 467.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.3374, allocations: 1.312 MB / 468.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.338, allocations: 0.9045 MB / 469.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3382, allocations: 63.42 kB / 469.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3382, allocations: 0 / 469.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of Templates: time 0.01143/0.3496, allocations: 7.574 MB / 477.2 MB, free: 9.004 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.9010279956273735]