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.001367/0.001367, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001534/0.001534, allocations: 214.5 kB / 24.48 MB, free: 3.93 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.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.00194/0.00194, allocations: 63.91 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2273, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006918/0.2342, allocations: 5.013 MB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003641/0.2378, allocations: 1.772 MB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.2382, allocations: 20 kB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.2418, allocations: 1.489 MB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.2434, allocations: 0.5823 MB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.2443, allocations: 398.9 kB / 441.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009146/0.2452, allocations: 0.7977 MB / 442.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.2464, allocations: 0.7431 MB / 443.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.2469, allocations: 366.7 kB / 443.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.2474, allocations: 430.1 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.2475, allocations: 83.94 kB / 444.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005015/0.248, allocations: 231.8 kB / 444.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.2482, allocations: 191.3 kB / 444.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.2485, allocations: 342.4 kB / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.2498, allocations: 1.182 MB / 446 MB, free: 8.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2498, allocations: 0 / 446 MB, free: 8.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2498, allocations: 0 / 446 MB, free: 8.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.2498, allocations: 0 / 446 MB, free: 8.879 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.00326/0.2531, allocations: 1.297 MB / 447.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2531, allocations: 19.97 kB / 447.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/0.2576, allocations: 0.617 MB / 447.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.2584, allocations: 364 kB / 448.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/0.2585, allocations: 70.38 kB / 448.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.2586, allocations: 100.4 kB / 448.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.2604, allocations: 1.015 MB / 449.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.2604, allocations: 4 kB / 449.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.2605, allocations: 40 kB / 449.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.2605, allocations: 28 kB / 449.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.2622, allocations: 0.9252 MB / 450.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/0.2667, allocations: 2.788 MB / 453.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.2686, allocations: 0.7459 MB / 454 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.269, allocations: 255.8 kB / 454.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.725e-05/0.2691, allocations: 24.64 kB / 454.3 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.2692, allocations: 43.2 kB / 454.3 MB, free: 332 kB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.575e-06/0.2692, allocations: 0 / 454.3 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001483/0.2707, allocations: 0.7319 MB / 455 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.2707, allocations: 111.5 kB / 455.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.271, allocations: 264.7 kB / 455.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.2711, allocations: 33.7 kB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.2713, allocations: 392 kB / 455.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.2715, allocations: 238 kB / 456 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.2717, allocations: 142.6 kB / 456.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2719, allocations: 346.8 kB / 456.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.2723, allocations: 230 kB / 456.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.2729, allocations: 435.4 kB / 457.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.274, allocations: 0.6969 MB / 457.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.274, allocations: 4 kB / 457.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001337/0.2753, allocations: 0.751 MB / 458.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2754, allocations: 8 kB / 458.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.2754, allocations: 11.98 kB / 458.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.2754, allocations: 11.94 kB / 458.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.2761, allocations: 195.7 kB / 458.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.2761, allocations: 15.94 kB / 458.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.2765, allocations: 83.62 kB / 458.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.2766, allocations: 35.98 kB / 459 MB, free: 11.39 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.0003176/0.2769, allocations: 221.6 kB / 459.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.277, allocations: 39.72 kB / 459.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.2784, allocations: 0.6462 MB / 459.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.2784, allocations: 11.98 kB / 459.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2784, allocations: 0 / 459.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.2784, allocations: 7.984 kB / 459.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.2807, allocations: 1.265 MB / 461.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2807, allocations: 0 / 461.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.2812, allocations: 139.8 kB / 461.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.2812, allocations: 4 kB / 461.3 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.2813, allocations: 19.98 kB / 461.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.2813, allocations: 11.94 kB / 461.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2813, allocations: 0 / 461.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.2831, allocations: 1.12 MB / 462.5 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.2831, allocations: 51.66 kB / 462.5 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.2832, allocations: 12 kB / 462.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.2835, allocations: 19.98 kB / 462.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2836, allocations: 48.52 kB / 462.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.2837, allocations: 28.05 kB / 462.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.2839, allocations: 168.5 kB / 462.8 MB, free: 7.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2839, allocations: 4 kB / 462.8 MB, free: 7.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007968/0.2847, allocations: 227.3 kB / 463 MB, free: 7.293 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.0002504/0.2849, allocations: 147 kB / 463.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2861, allocations: 0.5765 MB / 463.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2861, allocations: 0 / 463.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.2865, allocations: 275.6 kB / 464 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.287, allocations: 36.44 kB / 464 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.2893, allocations: 1.293 MB / 465.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.2896, allocations: 311.7 kB / 465.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.2898, allocations: 59.41 kB / 465.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2898, allocations: 4 kB / 465.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of Templates: time 0.01284/0.3027, allocations: 7.796 MB / 473.5 MB, free: 12.73 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/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: 7.076090634800494]