Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001763, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2463, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006369/0.2527, allocations: 5.604 MB / 407 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.2553, allocations: 1.81 MB / 408.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.2556, allocations: 16 kB / 408.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.2588, allocations: 1.621 MB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.2602, allocations: 0.7572 MB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.2608, allocations: 283.4 kB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007363/0.2615, allocations: 0.8056 MB / 412.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.2627, allocations: 0.8652 MB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.2631, allocations: 354.7 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.2637, allocations: 494.1 kB / 414 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.473e-05/0.2638, allocations: 80 kB / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.2642, allocations: 235.8 kB / 414.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.2644, allocations: 187.3 kB / 414.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.2647, allocations: 421.9 kB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.2658, allocations: 1.164 MB / 416.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2658, allocations: 8 kB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2658, allocations: 0 / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2658, allocations: 0 / 416.1 MB, free: 10.11 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.003193/0.269, allocations: 1.35 MB / 417.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2691, allocations: 8.031 kB / 417.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.274, allocations: 0.6516 MB / 418.1 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.2745, allocations: 415.2 kB / 418.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.2746, allocations: 74.38 kB / 418.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2747, allocations: 88.38 kB / 418.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.2764, allocations: 0.994 MB / 419.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.2764, allocations: 3.906 kB / 419.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.2765, allocations: 36 kB / 419.7 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.2765, allocations: 24 kB / 419.7 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.2781, allocations: 0.9258 MB / 420.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.2824, allocations: 3.331 MB / 424 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.2847, allocations: 2.249 MB / 426.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.2852, allocations: 293.8 kB / 426.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.373e-05/0.2853, allocations: 93.66 kB / 426.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.2853, allocations: 43.12 kB / 426.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.114e-06/0.2854, allocations: 7.938 kB / 426.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001336/0.2867, allocations: 0.7132 MB / 427.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.2868, allocations: 107.4 kB / 427.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.287, allocations: 274.4 kB / 427.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.2871, allocations: 37.7 kB / 427.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.2873, allocations: 386.8 kB / 428.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.2875, allocations: 220.8 kB / 428.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.2877, allocations: 142.5 kB / 428.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2878, allocations: 350.7 kB / 428.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.2882, allocations: 217.9 kB / 429 MB, free: 12.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.2887, allocations: 447.3 kB / 429.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/0.2897, allocations: 0.6833 MB / 430.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2897, allocations: 8 kB / 430.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001202/0.2909, allocations: 0.7484 MB / 430.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.291, allocations: 8 kB / 430.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.291, allocations: 7.938 kB / 430.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.291, allocations: 12 kB / 430.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.2917, allocations: 187.7 kB / 431.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.2917, allocations: 16.33 kB / 431.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.2921, allocations: 83.22 kB / 431.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.2922, allocations: 35.98 kB / 431.3 MB, free: 9.98 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.0002427/0.2924, allocations: 217.6 kB / 431.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2925, allocations: 39.53 kB / 431.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.2937, allocations: 0.6478 MB / 432.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.2937, allocations: 3.984 kB / 432.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2937, allocations: 0 / 432.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.2938, allocations: 128.5 kB / 432.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.2939, allocations: 16 kB / 432.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.2943, allocations: 20 kB / 432.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.2944, allocations: 52.44 kB / 432.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001316/0.2957, allocations: 0.841 MB / 433.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001558/0.2973, allocations: 1.187 MB / 434.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004513/0.2977, allocations: 284.5 kB / 434.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.2979, allocations: 186 kB / 434.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of Backend: time 3.81e-07/0.2979, allocations: 0 / 434.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.2992, allocations: 0.5785 MB / 435.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of SimCode: time 0.001684/0.3009, allocations: 1.508 MB / 436.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of Templates: time 0.01274/0.3137, allocations: 7.589 MB / 444.5 MB, free: 12.6 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches