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.001544/0.001544, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001144, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2403, allocations: 50.55 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00682/0.2472, allocations: 5.618 MB / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.2504, allocations: 1.865 MB / 416.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.2507, allocations: 16 kB / 416.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.2542, allocations: 1.614 MB / 418.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.2555, allocations: 0.59 MB / 418.9 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.2564, allocations: 422.9 kB / 419.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.2571, allocations: 0.7939 MB / 420.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.2582, allocations: 0.8639 MB / 421 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004099/0.2587, allocations: 362.6 kB / 421.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006755/0.2594, allocations: 490.1 kB / 421.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.2595, allocations: 80 kB / 421.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004563/0.2599, allocations: 243.8 kB / 422.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.2601, allocations: 187.3 kB / 422.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.2604, allocations: 421.9 kB / 422.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2615, allocations: 1.177 MB / 423.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2615, allocations: 0 / 423.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2615, allocations: 0 / 423.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2615, allocations: 0 / 423.9 MB, free: 2.82 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.00311/0.2646, allocations: 1.358 MB / 425.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2647, allocations: 8.031 kB / 425.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/0.2693, allocations: 0.6516 MB / 426 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.2699, allocations: 411.2 kB / 426.4 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.27, allocations: 70.38 kB / 426.4 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.2701, allocations: 108.3 kB / 426.5 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.2718, allocations: 0.9901 MB / 427.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.2718, allocations: 0 / 427.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.2719, allocations: 40 kB / 427.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.272, allocations: 24 kB / 427.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.2736, allocations: 0.9252 MB / 428.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.2779, allocations: 3.418 MB / 431.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.2802, allocations: 2.241 MB / 434.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.2806, allocations: 299.7 kB / 434.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.2808, allocations: 170.8 kB / 434.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2808, allocations: 39.12 kB / 434.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.074e-06/0.2808, allocations: 0 / 434.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001337/0.2822, allocations: 0.7289 MB / 435.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.2823, allocations: 111.4 kB / 435.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.2825, allocations: 266.5 kB / 435.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.2826, allocations: 33.7 kB / 435.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.2828, allocations: 386.6 kB / 436.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.2829, allocations: 220.8 kB / 436.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2831, allocations: 134.6 kB / 436.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.2833, allocations: 350.8 kB / 436.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.2837, allocations: 225.9 kB / 437.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.2842, allocations: 435.3 kB / 437.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009708/0.2852, allocations: 0.695 MB / 438.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2852, allocations: 0 / 438.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001221/0.2864, allocations: 0.7525 MB / 439 MB, free: 2.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2865, allocations: 11.94 kB / 439 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2865, allocations: 8 kB / 439 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2865, allocations: 8 kB / 439 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/0.2872, allocations: 191.7 kB / 439.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.2872, allocations: 15.94 kB / 439.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.2876, allocations: 79.36 kB / 439.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.2877, allocations: 36 kB / 439.3 MB, free: 2.48 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.000249/0.288, allocations: 229.5 kB / 439.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.2881, allocations: 47.45 kB / 439.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.2893, allocations: 0.6478 MB / 440.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.2893, allocations: 8 kB / 440.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2893, allocations: 0 / 440.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.2893, allocations: 7.984 kB / 440.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.2915, allocations: 1.473 MB / 441.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.2915, allocations: 4.047 kB / 441.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.2921, allocations: 139.8 kB / 441.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2921, allocations: 4 kB / 441.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.2922, allocations: 15.98 kB / 441.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.2922, allocations: 7.938 kB / 441.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2922, allocations: 0 / 441.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.2937, allocations: 1.119 MB / 443 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.2938, allocations: 116.5 kB / 443.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.2939, allocations: 16 kB / 443.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.2943, allocations: 31.98 kB / 443.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.2944, allocations: 40.5 kB / 443.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.2944, allocations: 24 kB / 443.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.2946, allocations: 182 kB / 443.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2946, allocations: 0 / 443.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007046/0.2953, allocations: 227.1 kB / 443.6 MB, free: 14.05 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.0002367/0.2955, allocations: 151.1 kB / 443.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2966, allocations: 0.6093 MB / 444.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2966, allocations: 1.75 kB / 444.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.297, allocations: 307 kB / 444.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.2976, allocations: 51.03 kB / 444.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.2994, allocations: 1.232 MB / 446 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.2999, allocations: 0.8968 MB / 446.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.3002, allocations: 76.39 kB / 446.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3004, allocations: 51.42 kB / 447 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3004, allocations: 4 kB / 447 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Templates: time 0.009773/0.3102, allocations: 4.857 MB / 451.8 MB, free: 5.77 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/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