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.00145/0.00145, allocations: 113 kB / 17.07 MB, free: 6.016 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.00177/0.00177, allocations: 191 kB / 18 MB, free: 5.098 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009118/0.0009118, allocations: 47.94 kB / 351.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2291, allocations: 49.43 MB / 400.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007724/0.2369, allocations: 5.612 MB / 406.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.2407, allocations: 1.81 MB / 408.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004751/0.2412, allocations: 16 kB / 408.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003464/0.2447, allocations: 1.617 MB / 409.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.2463, allocations: 0.7639 MB / 410.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005782/0.2469, allocations: 279.4 kB / 410.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.2477, allocations: 0.8017 MB / 411.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.2489, allocations: 0.8642 MB / 412.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.2493, allocations: 354.7 kB / 412.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.2498, allocations: 498.1 kB / 413.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.2499, allocations: 76 kB / 413.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.2503, allocations: 235.9 kB / 413.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.2505, allocations: 191.3 kB / 413.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.2509, allocations: 421.9 kB / 414.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.252, allocations: 1.171 MB / 415.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2521, allocations: 0 / 415.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2521, allocations: 0 / 415.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2521, allocations: 4 kB / 415.4 MB, free: 10.17 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.003115/0.2552, allocations: 1.364 MB / 416.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2552, allocations: 8.031 kB / 416.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004632/0.2599, allocations: 0.656 MB / 417.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.2604, allocations: 419.2 kB / 417.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.2605, allocations: 70.38 kB / 417.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.2606, allocations: 100.3 kB / 418 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.2622, allocations: 0.9901 MB / 419 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.2622, allocations: 4 kB / 419 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.2623, allocations: 40 kB / 419 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.2623, allocations: 24 kB / 419 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.2639, allocations: 0.918 MB / 420 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004175/0.2681, allocations: 3.348 MB / 423.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.2704, allocations: 2.239 MB / 425.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.2708, allocations: 297.5 kB / 425.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.2709, allocations: 105.6 kB / 425.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.271, allocations: 43.12 kB / 426 MB, free: 14.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 3.577e-06/0.271, allocations: 0 / 426 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001302/0.2723, allocations: 0.7134 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.2724, allocations: 111.4 kB / 426.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.2726, allocations: 278.7 kB / 427.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.2727, allocations: 37.7 kB / 427.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.2729, allocations: 388 kB / 427.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.2731, allocations: 242 kB / 427.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.2732, allocations: 134.6 kB / 427.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2734, allocations: 350.8 kB / 428.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.2738, allocations: 217.9 kB / 428.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.2743, allocations: 447.3 kB / 428.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/0.2753, allocations: 0.6911 MB / 429.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2753, allocations: 4 kB / 429.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001168/0.2765, allocations: 0.7444 MB / 430.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2765, allocations: 11.94 kB / 430.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2765, allocations: 4.781 kB / 430.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.2765, allocations: 12 kB / 430.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.2772, allocations: 191.7 kB / 430.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.2772, allocations: 19.92 kB / 430.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.2776, allocations: 79.41 kB / 430.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.2777, allocations: 35.98 kB / 430.6 MB, free: 9.984 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.0002564/0.2779, allocations: 217.6 kB / 430.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.278, allocations: 47.66 kB / 430.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.2792, allocations: 0.644 MB / 431.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.2792, allocations: 12 kB / 431.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2792, allocations: 0 / 431.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.2792, allocations: 7.922 kB / 431.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.2813, allocations: 1.469 MB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2813, allocations: 0 / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.2819, allocations: 143.8 kB / 433.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2819, allocations: 4 kB / 433.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.2819, allocations: 20 kB / 433.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2819, allocations: 3.938 kB / 433.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.282, allocations: 11.94 kB / 433.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2834, allocations: 1.112 MB / 434.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.2835, allocations: 124.7 kB / 434.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.2836, allocations: 15.98 kB / 434.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.2839, allocations: 27.94 kB / 434.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.284, allocations: 40.5 kB / 434.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.284, allocations: 19.98 kB / 434.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.2842, allocations: 190 kB / 434.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2842, allocations: 0 / 434.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006264/0.2848, allocations: 223.3 kB / 434.9 MB, free: 5.566 MB / 350.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.0002155/0.2851, allocations: 155 kB / 435.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009823/0.2861, allocations: 0.6144 MB / 435.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2861, allocations: 0 / 435.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.2865, allocations: 307 kB / 436 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.287, allocations: 40.56 kB / 436.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2888, allocations: 1.254 MB / 437.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.2892, allocations: 0.8968 MB / 438.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002777/0.2895, allocations: 80.38 kB / 438.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2896, allocations: 47.44 kB / 438.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2896, allocations: 0 / 438.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Templates: time 0.008905/0.2985, allocations: 4.817 MB / 443.1 MB, free: 13.3 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/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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches