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.001827/0.001827, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002347/0.002347, allocations: 205.8 kB / 23.72 MB, free: 4.391 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.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.002053/0.002053, allocations: 67.89 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2377, allocations: 53.4 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007483/0.2452, allocations: 5.024 MB / 436.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.2486, allocations: 1.768 MB / 438.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.2489, allocations: 20 kB / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003675/0.2526, allocations: 1.489 MB / 439.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.254, allocations: 0.5862 MB / 440.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008722/0.2548, allocations: 394.9 kB / 440.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008859/0.2557, allocations: 0.7939 MB / 441.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.2569, allocations: 0.7469 MB / 442.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.2573, allocations: 362.7 kB / 442.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006188/0.258, allocations: 426.2 kB / 443.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.2581, allocations: 80 kB / 443.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.2586, allocations: 239.8 kB / 443.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.2587, allocations: 191.3 kB / 443.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.2591, allocations: 338.4 kB / 444 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.2604, allocations: 1.185 MB / 445.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2604, allocations: 0 / 445.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2604, allocations: 0 / 445.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2604, allocations: 0 / 445.2 MB, free: 8.855 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.003432/0.2639, allocations: 1.293 MB / 446.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2639, allocations: 11.98 kB / 446.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.2686, allocations: 0.6248 MB / 447.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007697/0.2693, allocations: 368 kB / 447.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.2694, allocations: 70.38 kB / 447.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.2696, allocations: 104.3 kB / 447.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.2714, allocations: 1.019 MB / 448.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.2714, allocations: 4 kB / 448.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.778e-05/0.2715, allocations: 40 kB / 448.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.2715, allocations: 24 kB / 448.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.2732, allocations: 0.9174 MB / 449.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00468/0.2779, allocations: 2.792 MB / 452.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.2798, allocations: 0.7537 MB / 453.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/0.2803, allocations: 262.6 kB / 453.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.366e-05/0.2804, allocations: 24.64 kB / 453.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.2804, allocations: 43.2 kB / 453.6 MB, free: 296 kB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.274e-06/0.2804, allocations: 0 / 453.6 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001464/0.2819, allocations: 0.7202 MB / 454.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.282, allocations: 123.7 kB / 454.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.2822, allocations: 260.7 kB / 454.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.2823, allocations: 37.7 kB / 454.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.2825, allocations: 388 kB / 455.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.2828, allocations: 238 kB / 455.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.283, allocations: 142.6 kB / 455.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2831, allocations: 346.8 kB / 455.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.2836, allocations: 225.9 kB / 456 MB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.2842, allocations: 435.4 kB / 456.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.2853, allocations: 0.7008 MB / 457.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2853, allocations: 4 kB / 457.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001362/0.2867, allocations: 0.7473 MB / 457.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2867, allocations: 8 kB / 457.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.2867, allocations: 11.98 kB / 457.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.2867, allocations: 15.97 kB / 457.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.2874, allocations: 191.7 kB / 458.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.2874, allocations: 15.98 kB / 458.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.2878, allocations: 75.44 kB / 458.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.2879, allocations: 35.98 kB / 458.2 MB, free: 11.37 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.0002871/0.2882, allocations: 221.5 kB / 458.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2883, allocations: 47.72 kB / 458.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.2896, allocations: 0.6462 MB / 459.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2896, allocations: 4 kB / 459.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2896, allocations: 8 kB / 459.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2896, allocations: 3.984 kB / 459.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.2918, allocations: 1.268 MB / 460.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.2919, allocations: 4 kB / 460.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.2924, allocations: 139.8 kB / 460.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.2924, allocations: 4 kB / 460.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.2925, allocations: 23.92 kB / 460.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2925, allocations: 4 kB / 460.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2925, allocations: 0 / 460.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.2942, allocations: 1.124 MB / 461.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.2942, allocations: 51.66 kB / 461.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/0.2943, allocations: 8 kB / 461.8 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.2947, allocations: 23.98 kB / 461.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.2948, allocations: 48.52 kB / 461.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.2948, allocations: 23.98 kB / 461.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.295, allocations: 168.5 kB / 462 MB, free: 7.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.295, allocations: 0 / 462 MB, free: 7.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007214/0.2957, allocations: 227.3 kB / 462.3 MB, free: 7.27 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.0002446/0.296, allocations: 159.1 kB / 462.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.297, allocations: 0.5727 MB / 463 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.297, allocations: 0 / 463 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005126/0.2975, allocations: 280.1 kB / 463.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.298, allocations: 32.44 kB / 463.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.3, allocations: 1.26 MB / 464.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3004, allocations: 307.7 kB / 464.8 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.3007, allocations: 76.34 kB / 464.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3008, allocations: 51.42 kB / 465 MB, free: 4.477 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.3008, allocations: 0 / 465 MB, free: 4.477 MB / 366.1 MB Notification: Performance of Templates: time 0.01153/0.3123, allocations: 5.155 MB / 470.1 MB, free: 15.35 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.683802844956517]