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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.88 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2292, allocations: 50.55 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006354/0.2356, allocations: 5.612 MB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003375/0.239, allocations: 1.865 MB / 417.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006097/0.2397, allocations: 20 kB / 417.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.2433, allocations: 1.606 MB / 419 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.2449, allocations: 0.5979 MB / 419.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.2459, allocations: 406.9 kB / 420 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.2471, allocations: 0.8056 MB / 420.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.2485, allocations: 0.8639 MB / 421.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.2491, allocations: 354.7 kB / 422 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006895/0.2498, allocations: 498.1 kB / 422.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.25, allocations: 76 kB / 422.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006831/0.2507, allocations: 243.8 kB / 422.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.2509, allocations: 179.4 kB / 423 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.2513, allocations: 433.9 kB / 423.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.2528, allocations: 1.181 MB / 424.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2528, allocations: 3.938 kB / 424.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2528, allocations: 0 / 424.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.906e-05/0.2528, allocations: 0 / 424.6 MB, free: 2.797 MB / 334.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.003557/0.2564, allocations: 1.346 MB / 426 MB, free: 1.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2565, allocations: 8.031 kB / 426 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.2612, allocations: 0.6555 MB / 426.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.262, allocations: 411.2 kB / 427 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.2621, allocations: 74.38 kB / 427.1 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.2623, allocations: 96.28 kB / 427.2 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.2642, allocations: 0.994 MB / 428.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.2643, allocations: 0 / 428.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2644, allocations: 48 kB / 428.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.2644, allocations: 20 kB / 428.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.2661, allocations: 0.9175 MB / 429.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004874/0.271, allocations: 3.426 MB / 432.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.2735, allocations: 2.241 MB / 434.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.274, allocations: 284.2 kB / 435.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.2742, allocations: 186.7 kB / 435.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2742, allocations: 43.12 kB / 435.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 3.085e-06/0.2743, allocations: 0 / 435.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001376/0.2756, allocations: 0.7132 MB / 436.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.2757, allocations: 111.4 kB / 436.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.276, allocations: 274.7 kB / 436.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.2761, allocations: 41.7 kB / 436.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.2763, allocations: 378.6 kB / 436.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.2766, allocations: 224.8 kB / 437.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.2768, allocations: 134.6 kB / 437.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2769, allocations: 350.8 kB / 437.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.2773, allocations: 217.9 kB / 437.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.2779, allocations: 443.3 kB / 438.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.2789, allocations: 0.6911 MB / 438.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.2789, allocations: 4 kB / 438.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0013/0.2802, allocations: 0.7443 MB / 439.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2803, allocations: 11.94 kB / 439.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.2803, allocations: 4 kB / 439.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.2803, allocations: 12 kB / 439.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006894/0.281, allocations: 192.3 kB / 439.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.2811, allocations: 19.92 kB / 439.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.2815, allocations: 75.22 kB / 439.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.2816, allocations: 35.98 kB / 440 MB, free: 2.469 MB / 350.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.000323/0.2819, allocations: 229.5 kB / 440.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.282, allocations: 43.47 kB / 440.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.2832, allocations: 0.6478 MB / 440.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.2832, allocations: 8 kB / 440.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2833, allocations: 4 kB / 440.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.2833, allocations: 7.969 kB / 440.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.2856, allocations: 1.469 MB / 442.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2856, allocations: 0 / 442.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.2862, allocations: 147.8 kB / 442.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.2862, allocations: 8 kB / 442.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.2862, allocations: 16 kB / 442.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.2862, allocations: 3.938 kB / 442.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2863, allocations: 4 kB / 442.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.2878, allocations: 1.119 MB / 443.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2879, allocations: 120.5 kB / 443.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.288, allocations: 12 kB / 443.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.2884, allocations: 31.92 kB / 443.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.2885, allocations: 36.52 kB / 443.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.2885, allocations: 19.98 kB / 443.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.2887, allocations: 186 kB / 444.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2887, allocations: 4.062 kB / 444.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007714/0.2895, allocations: 223.1 kB / 444.3 MB, free: 14.04 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.000284/0.2898, allocations: 159.1 kB / 444.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2909, allocations: 0.6069 MB / 445.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2909, allocations: 0 / 445.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.2914, allocations: 303 kB / 445.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.292, allocations: 42.95 kB / 445.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.2943, allocations: 1.269 MB / 446.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.2948, allocations: 0.9007 MB / 447.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.2951, allocations: 55.42 kB / 447.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2951, allocations: 3.938 kB / 447.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01156/0.3066, allocations: 7.304 MB / 454.9 MB, free: 3.34 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches