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.001585/0.001585, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002132/0.002133, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.4 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 68.17 kB / 306.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08184/0.08308, allocations: 50.53 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006662/0.08976, allocations: 5.597 MB / 362.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.09288, allocations: 1.842 MB / 364.4 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.09323, allocations: 20 kB / 364.4 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.09636, allocations: 1.521 MB / 366 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.09753, allocations: 0.5281 MB / 366.5 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.09824, allocations: 383.1 kB / 366.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006953/0.09894, allocations: 0.794 MB / 367.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.1002, allocations: 0.9926 MB / 368.6 MB, free: 2.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/0.1006, allocations: 350.7 kB / 369 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.101, allocations: 494.2 kB / 369.5 MB, free: 1.832 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.745e-05/0.1011, allocations: 80 kB / 369.5 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.1015, allocations: 247.8 kB / 369.8 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1017, allocations: 187.3 kB / 370 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.102, allocations: 418 kB / 370.4 MB, free: 0.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1412/0.2432, allocations: 1.157 MB / 371.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2432, allocations: 0.7812 kB / 371.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2432, allocations: 0 / 371.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.846e-05/0.2433, allocations: 0 / 371.5 MB, free: 11.92 MB / 302.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.003458/0.2467, allocations: 1.35 MB / 372.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2468, allocations: 9.969 kB / 372.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.2516, allocations: 0.6517 MB / 373.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.2521, allocations: 413.8 kB / 374 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.2522, allocations: 75.41 kB / 374 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.2523, allocations: 102.7 kB / 374.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.2542, allocations: 0.9824 MB / 375.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.2542, allocations: 9.125 kB / 375.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.2543, allocations: 38.34 kB / 375.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.2543, allocations: 22.72 kB / 375.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.2559, allocations: 0.9211 MB / 376.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.2602, allocations: 3.446 MB / 379.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.262, allocations: 2.239 MB / 381.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.2624, allocations: 290.4 kB / 382.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.2626, allocations: 179.2 kB / 382.2 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.2626, allocations: 40.12 kB / 382.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.2626, allocations: 2.906 kB / 382.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001255/0.2639, allocations: 0.722 MB / 383 MB, free: 6.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.2639, allocations: 113 kB / 383.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.2641, allocations: 272.2 kB / 383.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.2642, allocations: 36.95 kB / 383.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.2643, allocations: 377.4 kB / 383.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.2644, allocations: 228.4 kB / 384 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.2646, allocations: 136.3 kB / 384.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.2647, allocations: 345.7 kB / 384.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.2651, allocations: 225.7 kB / 384.7 MB, free: 5.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.2656, allocations: 436.8 kB / 385.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.2665, allocations: 0.6932 MB / 385.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2665, allocations: 4.484 kB / 385.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00115/0.2676, allocations: 0.7482 MB / 386.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2677, allocations: 7.531 kB / 386.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.2677, allocations: 10.94 kB / 386.6 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.2677, allocations: 11.48 kB / 386.6 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.2684, allocations: 191.2 kB / 386.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.2684, allocations: 15.55 kB / 386.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.2688, allocations: 82.34 kB / 386.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.2689, allocations: 36.78 kB / 386.9 MB, free: 4.156 MB / 302.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.0002013/0.2691, allocations: 218.8 kB / 387.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.2692, allocations: 38.94 kB / 387.2 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.2703, allocations: 0.6549 MB / 387.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2703, allocations: 7.719 kB / 387.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2703, allocations: 5.859 kB / 387.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.2704, allocations: 7.484 kB / 387.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.2724, allocations: 1.48 MB / 389.3 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2724, allocations: 1.188 kB / 389.3 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/0.273, allocations: 138.5 kB / 389.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.273, allocations: 2.969 kB / 389.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.273, allocations: 15.52 kB / 389.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.273, allocations: 3.031 kB / 389.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2731, allocations: 7.781 kB / 389.5 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.2744, allocations: 1.118 MB / 390.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.2745, allocations: 120.7 kB / 390.7 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.2746, allocations: 15.67 kB / 390.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.2749, allocations: 25.44 kB / 390.8 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.275, allocations: 45.08 kB / 390.8 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.2751, allocations: 19.89 kB / 390.8 MB, free: 2.062 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.2752, allocations: 184.9 kB / 391 MB, free: 1.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2752, allocations: 0 / 391 MB, free: 1.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006852/0.2759, allocations: 236 kB / 391.2 MB, free: 1.875 MB / 302.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.0001991/0.2761, allocations: 149.3 kB / 391.4 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.2773, allocations: 0.6403 MB / 392 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2773, allocations: 1.75 kB / 392 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.2777, allocations: 305.9 kB / 392.3 MB, free: 1.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.2783, allocations: 48.62 kB / 392.4 MB, free: 1.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.28, allocations: 1.606 MB / 394 MB, free: 376 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2803, allocations: 0.9083 MB / 394.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003391/0.2807, allocations: 81.31 kB / 395 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.2808, allocations: 50.12 kB / 395 MB, free: 15.61 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2808, allocations: 0 / 395 MB, free: 15.61 MB / 318.1 MB Notification: Performance of Templates: time 0.008349/0.2892, allocations: 4.736 MB / 399.8 MB, free: 13.78 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches