Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001072, allocations: 183 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 223.7 MB, free: 8.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009744/0.0009744, allocations: 95.98 kB / 271.2 MB, free: 8.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008559/0.000856, allocations: 43.94 kB / 327.2 MB, free: 348 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2152, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005323/0.2205, allocations: 5.855 MB / 379.7 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.2231, allocations: 1.897 MB / 381.6 MB, free: 39.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.2233, allocations: 18.38 kB / 381.6 MB, free: 39.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.2258, allocations: 1.535 MB / 383.1 MB, free: 38.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.2272, allocations: 0.7585 MB / 383.9 MB, free: 37.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.2276, allocations: 255.4 kB / 384.1 MB, free: 37.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006929/0.2283, allocations: 0.8618 MB / 385 MB, free: 37.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000987/0.2293, allocations: 0.8053 MB / 385.8 MB, free: 36.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.2297, allocations: 364.7 kB / 386.2 MB, free: 36.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004308/0.2301, allocations: 0.5211 MB / 386.7 MB, free: 36.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.651e-05/0.2302, allocations: 64.34 kB / 386.7 MB, free: 36.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.2306, allocations: 230.3 kB / 387 MB, free: 36.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.2307, allocations: 194.1 kB / 387.2 MB, free: 35.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.231, allocations: 448.2 kB / 387.6 MB, free: 35.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007516/0.2318, allocations: 1.199 MB / 388.8 MB, free: 34.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2318, allocations: 0 / 388.8 MB, free: 34.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2318, allocations: 0 / 388.8 MB, free: 34.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2318, allocations: 0 / 388.8 MB, free: 34.49 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002541/0.2344, allocations: 1.421 MB / 390.2 MB, free: 33.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2344, allocations: 8.031 kB / 390.2 MB, free: 33.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005881/0.2403, allocations: 0.9715 MB / 391.2 MB, free: 32.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.2408, allocations: 447 kB / 391.6 MB, free: 31.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.2408, allocations: 82.55 kB / 391.7 MB, free: 31.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.2409, allocations: 104.4 kB / 391.8 MB, free: 31.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.2423, allocations: 1.133 MB / 392.9 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.2424, allocations: 0 / 392.9 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.2425, allocations: 48 kB / 393 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2425, allocations: 28 kB / 393 MB, free: 30.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.2439, allocations: 1.132 MB / 394.2 MB, free: 29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.2477, allocations: 3.972 MB / 398.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.2499, allocations: 3.756 MB / 401.9 MB, free: 20.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.2502, allocations: 326.3 kB / 402.2 MB, free: 20.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-05/0.2503, allocations: 89.66 kB / 402.3 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.2503, allocations: 54.98 kB / 402.3 MB, free: 19.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 2.164e-06/0.2504, allocations: 4 kB / 402.3 MB, free: 19.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.001116/0.2515, allocations: 0.7524 MB / 403.1 MB, free: 19.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2515, allocations: 111.4 kB / 403.2 MB, free: 18.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.2518, allocations: 320.3 kB / 403.5 MB, free: 18.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.2518, allocations: 37.7 kB / 403.6 MB, free: 18.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.2519, allocations: 449.9 kB / 404 MB, free: 18.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.252, allocations: 240.5 kB / 404.2 MB, free: 17.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.2522, allocations: 178.5 kB / 404.4 MB, free: 17.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.2523, allocations: 350.8 kB / 404.7 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.2527, allocations: 245.9 kB / 405 MB, free: 17.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.2531, allocations: 0.563 MB / 405.6 MB, free: 16.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008155/0.2539, allocations: 0.8715 MB / 406.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.254, allocations: 4 kB / 406.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001088/0.255, allocations: 0.8995 MB / 407.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2551, allocations: 19.97 kB / 407.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2551, allocations: 8 kB / 407.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.2551, allocations: 19.94 kB / 407.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.2558, allocations: 235.6 kB / 407.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.2558, allocations: 23.92 kB / 407.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.2562, allocations: 94.97 kB / 407.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.2563, allocations: 51.92 kB / 407.8 MB, free: 14.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0002005/0.2565, allocations: 245.5 kB / 408 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.2566, allocations: 47.38 kB / 408.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009391/0.2575, allocations: 0.6822 MB / 408.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2575, allocations: 8 kB / 408.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2575, allocations: 8 kB / 408.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.2576, allocations: 3.984 kB / 408.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.2593, allocations: 1.594 MB / 410.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2593, allocations: 3.938 kB / 410.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.2598, allocations: 147.8 kB / 410.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2599, allocations: 4 kB / 410.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.2599, allocations: 16 kB / 410.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2599, allocations: 4 kB / 410.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2599, allocations: 0 / 410.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.262, allocations: 2.455 MB / 413 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.2621, allocations: 128.4 kB / 413.1 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.2621, allocations: 12 kB / 413.1 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.2625, allocations: 27.98 kB / 413.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.2626, allocations: 44.59 kB / 413.2 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.2626, allocations: 16 kB / 413.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.2627, allocations: 223.1 kB / 413.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2627, allocations: 0 / 413.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007184/0.2635, allocations: 267.1 kB / 413.7 MB, free: 7.918 MB / 298.7 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 (78): * Single equations (assignments): 78 * 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.0001801/0.2637, allocations: 151 kB / 413.8 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008431/0.2645, allocations: 0.6861 MB / 414.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2645, allocations: 0 / 414.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.2649, allocations: 321.1 kB / 414.8 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.2654, allocations: 41.09 kB / 414.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.2673, allocations: 2.185 MB / 417.1 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2676, allocations: 0.9478 MB / 418 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003495/0.268, allocations: 96.88 kB / 418.1 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2681, allocations: 55.42 kB / 418.1 MB, free: 3.363 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2681, allocations: 0 / 418.1 MB, free: 3.363 MB / 298.7 MB Notification: Performance of Templates: time 0.008181/0.2763, allocations: 5.049 MB / 423.2 MB, free: 14.32 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches