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.001002/0.001002, allocations: 111.8 kB / 17.74 MB, free: 5.316 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.001083/0.001083, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2471, allocations: 49.43 MB / 401.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006347/0.2535, allocations: 5.616 MB / 407 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.2566, allocations: 1.81 MB / 408.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.257, allocations: 20 kB / 408.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.2603, allocations: 1.609 MB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.2619, allocations: 0.7517 MB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.2625, allocations: 279.4 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007705/0.2632, allocations: 0.8055 MB / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.2644, allocations: 0.8652 MB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.2648, allocations: 366.6 kB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.2653, allocations: 490.2 kB / 414 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.294e-05/0.2654, allocations: 84 kB / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.2659, allocations: 235.8 kB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.266, allocations: 183.4 kB / 414.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.2663, allocations: 421.9 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2675, allocations: 1.172 MB / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2675, allocations: 0 / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2675, allocations: 0 / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.2675, allocations: 0 / 416.1 MB, free: 10.16 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.003028/0.2705, allocations: 1.346 MB / 417.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2706, allocations: 12.03 kB / 417.4 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/0.275, allocations: 0.6555 MB / 418.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.2756, allocations: 415.2 kB / 418.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.2757, allocations: 70.38 kB / 418.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.2758, allocations: 92.38 kB / 418.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.2773, allocations: 0.9902 MB / 419.6 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.2773, allocations: 3.906 kB / 419.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.2774, allocations: 40 kB / 419.7 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.2774, allocations: 24 kB / 419.7 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.2789, allocations: 0.9258 MB / 420.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.283, allocations: 3.327 MB / 424 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.2852, allocations: 2.237 MB / 426.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.2857, allocations: 297.7 kB / 426.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-05/0.2858, allocations: 101.6 kB / 426.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.2858, allocations: 43.06 kB / 426.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.2858, allocations: 3.938 kB / 426.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001308/0.2872, allocations: 0.7135 MB / 427.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.2872, allocations: 115.4 kB / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.2875, allocations: 274.4 kB / 427.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.2875, allocations: 33.7 kB / 427.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.2877, allocations: 378.6 kB / 428.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.2879, allocations: 220.8 kB / 428.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.2881, allocations: 146.4 kB / 428.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2882, allocations: 346.8 kB / 428.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.2886, allocations: 225.9 kB / 429 MB, free: 12.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.2891, allocations: 435.3 kB / 429.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/0.29, allocations: 0.695 MB / 430.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.29, allocations: 4 kB / 430.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001135/0.2912, allocations: 0.7409 MB / 430.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2912, allocations: 12.06 kB / 430.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2912, allocations: 15.94 kB / 430.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2912, allocations: 8 kB / 430.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.2919, allocations: 191.7 kB / 431.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.2919, allocations: 15.92 kB / 431.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.2923, allocations: 79.22 kB / 431.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.2924, allocations: 35.98 kB / 431.3 MB, free: 10.04 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.0002548/0.2926, allocations: 221.6 kB / 431.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2927, allocations: 43.47 kB / 431.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.2938, allocations: 0.6478 MB / 432.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.2938, allocations: 8 kB / 432.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.2939, allocations: 0 / 432.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.2939, allocations: 7.984 kB / 432.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.296, allocations: 1.473 MB / 433.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.296, allocations: 4 kB / 433.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.2965, allocations: 139.8 kB / 433.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.2966, allocations: 4 kB / 433.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.2966, allocations: 16 kB / 433.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.2966, allocations: 7.938 kB / 433.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2966, allocations: 0 / 433.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.298, allocations: 1.115 MB / 434.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/0.2981, allocations: 120.5 kB / 435 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.2982, allocations: 16 kB / 435.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.2985, allocations: 23.94 kB / 435.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.2986, allocations: 48.5 kB / 435.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.2987, allocations: 27.98 kB / 435.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.2988, allocations: 178 kB / 435.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2988, allocations: 0 / 435.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006933/0.2995, allocations: 223.1 kB / 435.6 MB, free: 5.625 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.0002496/0.2998, allocations: 159 kB / 435.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000973/0.3008, allocations: 0.6135 MB / 436.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3008, allocations: 0 / 436.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.3012, allocations: 304.5 kB / 436.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.3017, allocations: 40.56 kB / 436.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3036, allocations: 1.269 MB / 437.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.3041, allocations: 0.9007 MB / 438.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3043, allocations: 51.44 kB / 438.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3043, allocations: 3.938 kB / 438.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Templates: time 0.009483/0.3138, allocations: 7.367 MB / 446.3 MB, free: 10.84 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