Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001581/0.001581, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001986/0.001986, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.89 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 53.31 MB / 427.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.2095/0.3138, allocations: 5.648 MB / 433.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.3166, allocations: 1.887 MB / 435.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.3169, allocations: 25.86 kB / 435.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.3199, allocations: 1.613 MB / 437 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.3214, allocations: 0.6018 MB / 437.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.3221, allocations: 419.6 kB / 438 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008129/0.323, allocations: 0.7993 MB / 438.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008985/0.3239, allocations: 0.662 MB / 439.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.3243, allocations: 360.1 kB / 439.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.3248, allocations: 490.5 kB / 440.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3249, allocations: 78.16 kB / 440.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/0.3255, allocations: 249.6 kB / 440.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3256, allocations: 187.8 kB / 440.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.3259, allocations: 420.3 kB / 441.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.3272, allocations: 1.179 MB / 442.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3272, allocations: 0 / 442.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3272, allocations: 0 / 442.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.3273, allocations: 0 / 442.4 MB, free: 5.102 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.003071/0.3303, allocations: 1.37 MB / 443.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3304, allocations: 9.375 kB / 443.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004513/0.3349, allocations: 0.6219 MB / 444.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.3355, allocations: 425.8 kB / 444.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.3355, allocations: 69.28 kB / 444.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3357, allocations: 95.03 kB / 445 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.3373, allocations: 0.9962 MB / 446 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.3373, allocations: 3.016 kB / 446 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.3374, allocations: 39.81 kB / 446 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.3374, allocations: 23.62 kB / 446 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.3389, allocations: 0.9347 MB / 447 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.3429, allocations: 3.432 MB / 450.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.3458, allocations: 2.185 MB / 452.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/0.3465, allocations: 254.7 kB / 452.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.3467, allocations: 185 kB / 453 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.3468, allocations: 42.98 kB / 453.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.066e-06/0.3468, allocations: 0 / 453.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.002132/0.3489, allocations: 0.7318 MB / 453.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.349, allocations: 110.7 kB / 453.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.3494, allocations: 267.7 kB / 454.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.3495, allocations: 36.73 kB / 454.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.3499, allocations: 399.4 kB / 454.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.3502, allocations: 236.3 kB / 454.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.3504, allocations: 137.1 kB / 454.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.3506, allocations: 348.6 kB / 455.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.3513, allocations: 225.8 kB / 455.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000867/0.3521, allocations: 442.4 kB / 455.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.3538, allocations: 0.6962 MB / 456.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3538, allocations: 2.156 kB / 456.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001328/0.3551, allocations: 0.7536 MB / 457.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3551, allocations: 10.81 kB / 457.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3551, allocations: 8.406 kB / 457.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.3552, allocations: 10.59 kB / 457.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.3559, allocations: 200.9 kB / 457.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.3559, allocations: 14.66 kB / 457.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.3563, allocations: 78.08 kB / 457.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.3564, allocations: 36.14 kB / 457.7 MB, free: 11.36 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.0003371/0.3567, allocations: 223 kB / 458 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3568, allocations: 46.83 kB / 458 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.3581, allocations: 0.6446 MB / 458.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3581, allocations: 11.91 kB / 458.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3581, allocations: 1.125 kB / 458.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3581, allocations: 4.5 kB / 458.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.3605, allocations: 1.481 MB / 460.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3605, allocations: 1.219 kB / 460.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.3611, allocations: 140.4 kB / 460.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.3611, allocations: 3.969 kB / 460.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.3612, allocations: 18.53 kB / 460.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.3612, allocations: 7.844 kB / 460.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3612, allocations: 0.9375 kB / 460.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.3628, allocations: 1.126 MB / 461.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.363, allocations: 126.3 kB / 461.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.363, allocations: 14.38 kB / 461.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.3634, allocations: 24.78 kB / 461.6 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3635, allocations: 49.14 kB / 461.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.3636, allocations: 20.12 kB / 461.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.3637, allocations: 184.6 kB / 461.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3637, allocations: 1.125 kB / 461.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008332/0.3646, allocations: 230.8 kB / 462.1 MB, free: 9.027 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.0002596/0.3648, allocations: 144.2 kB / 462.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.366, allocations: 0.5735 MB / 462.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.366, allocations: 3.938 kB / 462.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.3665, allocations: 278.4 kB / 463.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.367, allocations: 37.59 kB / 463.1 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.3692, allocations: 1.297 MB / 464.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.3698, allocations: 0.8999 MB / 465.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.37, allocations: 62.83 kB / 465.4 MB, free: 6.891 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.37, allocations: 0 / 465.4 MB, free: 6.891 MB / 366.1 MB Notification: Performance of Templates: time 0.01279/0.3828, allocations: 7.577 MB / 472.9 MB, free: 2.859 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.4271295259241015]