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.000963/0.0009666, allocations: 90.89 kB / 17.31 MB, free: 5.664 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.001034/0.001034, allocations: 179.2 kB / 18.21 MB, free: 5.25 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.107/1.107, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002097/0.0002096, allocations: 15.94 kB / 302.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07004/0.07026, allocations: 50.41 MB / 352.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004528/0.0748, allocations: 5.105 MB / 357.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.07742, allocations: 1.772 MB / 359.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.07778, allocations: 16 kB / 359.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.07835, allocations: 278.8 kB / 359.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.07973, allocations: 0.6801 MB / 360.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.08024, allocations: 247.6 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000697/0.08095, allocations: 0.7626 MB / 361.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.08345, allocations: 1.668 MB / 363 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.08377, allocations: 298.7 kB / 363.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.08418, allocations: 442.1 kB / 363.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.08424, allocations: 36 kB / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.0846, allocations: 195.8 kB / 364 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.0847, allocations: 139.3 kB / 364.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.08497, allocations: 395.6 kB / 364.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.08568, allocations: 0.888 MB / 365.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.08569, allocations: 0 / 365.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.0857, allocations: 4 kB / 365.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.08572, allocations: 0 / 365.4 MB, free: 6.727 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.002564/0.08829, allocations: 1.202 MB / 366.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.08832, allocations: 8.031 kB / 366.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/0.09248, allocations: 0.6517 MB / 367.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.0929, allocations: 417.9 kB / 367.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.09296, allocations: 74.31 kB / 367.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.09308, allocations: 96.38 kB / 367.8 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.09457, allocations: 1.002 MB / 368.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.0946, allocations: 3.984 kB / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/0.09468, allocations: 40 kB / 368.9 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.0947, allocations: 24 kB / 368.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.09618, allocations: 0.9331 MB / 369.8 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1272/0.2234, allocations: 3.365 MB / 373.2 MB, free: 22.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.2252, allocations: 2.238 MB / 375.4 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.2257, allocations: 298.2 kB / 375.7 MB, free: 20.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.3e-05/0.2258, allocations: 98.59 kB / 375.8 MB, free: 20.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2258, allocations: 44.64 kB / 375.8 MB, free: 20.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.315e-06/0.2258, allocations: 1.469 kB / 375.8 MB, free: 20.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001203/0.227, allocations: 0.7266 MB / 376.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.227, allocations: 119.8 kB / 376.7 MB, free: 20.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.2273, allocations: 276.7 kB / 377 MB, free: 20.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2273, allocations: 40.52 kB / 377 MB, free: 20.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2275, allocations: 378.7 kB / 377.4 MB, free: 19.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2276, allocations: 221 kB / 377.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.2276, allocations: 66.75 kB / 377.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.577e-05/0.2277, allocations: 349.3 kB / 378 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.2281, allocations: 229.3 kB / 378.2 MB, free: 19.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.2285, allocations: 446.1 kB / 378.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.2292, allocations: 0.7037 MB / 379.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2293, allocations: 2.75 kB / 379.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001049/0.2303, allocations: 0.7582 MB / 380.1 MB, free: 18.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2303, allocations: 7.891 kB / 380.1 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2304, allocations: 11.78 kB / 380.1 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2304, allocations: 9.844 kB / 380.1 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.231, allocations: 189.5 kB / 380.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.231, allocations: 11.3 kB / 380.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.2313, allocations: 88.97 kB / 380.4 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.2314, allocations: 37.17 kB / 380.5 MB, free: 18.25 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.0001996/0.2316, allocations: 224.6 kB / 380.7 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/0.2317, allocations: 41.72 kB / 380.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009898/0.2327, allocations: 0.6513 MB / 381.4 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.2327, allocations: 8.469 kB / 381.4 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2327, allocations: 4.969 kB / 381.4 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.2327, allocations: 8.562 kB / 381.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.2346, allocations: 1.486 MB / 382.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2346, allocations: 0.6562 kB / 382.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.2351, allocations: 142.4 kB / 383 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.2351, allocations: 8.562 kB / 383 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2351, allocations: 17.06 kB / 383.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.2351, allocations: 0.7031 kB / 383.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2351, allocations: 7.672 kB / 383.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.2363, allocations: 1.138 MB / 384.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.2364, allocations: 128.1 kB / 384.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.2365, allocations: 15.09 kB / 384.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.2368, allocations: 26.44 kB / 384.4 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.2369, allocations: 41.06 kB / 384.4 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.2369, allocations: 23.8 kB / 384.4 MB, free: 16.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.2371, allocations: 188.5 kB / 384.6 MB, free: 16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2371, allocations: 0.75 kB / 384.6 MB, free: 16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006052/0.2377, allocations: 221.4 kB / 384.8 MB, free: 15.93 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.0001767/0.2379, allocations: 147.6 kB / 385 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008569/0.2387, allocations: 0.6206 MB / 385.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2387, allocations: 0.5 kB / 385.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.2391, allocations: 315.9 kB / 385.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.2396, allocations: 42.84 kB / 385.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.2413, allocations: 1.704 MB / 387.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.2416, allocations: 0.8995 MB / 388.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.2418, allocations: 56.22 kB / 388.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2418, allocations: 4 kB / 388.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Templates: time 0.008892/0.2507, allocations: 7.1 MB / 395.7 MB, free: 11.17 MB / 302.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