Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001328, allocations: 101 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008899/0.0008899, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1916, allocations: 50.44 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005228/0.1969, allocations: 5.603 MB / 412.6 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1993, allocations: 1.854 MB / 414.5 MB, free: 20.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.1997, allocations: 16 kB / 414.5 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.2022, allocations: 1.53 MB / 416 MB, free: 18.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009556/0.2031, allocations: 0.536 MB / 416.6 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.2037, allocations: 387.1 kB / 417 MB, free: 17.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.2042, allocations: 0.7784 MB / 417.7 MB, free: 17.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008933/0.2051, allocations: 0.7807 MB / 418.5 MB, free: 16.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.2054, allocations: 346.6 kB / 418.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.2058, allocations: 478.2 kB / 419.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.002e-05/0.2058, allocations: 64 kB / 419.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.2062, allocations: 223.8 kB / 419.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.2063, allocations: 171.3 kB / 419.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.2065, allocations: 402 kB / 420.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.2072, allocations: 1.148 MB / 421.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2072, allocations: 0 / 421.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.2072, allocations: 0 / 421.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.2072, allocations: 0 / 421.3 MB, free: 13.46 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002566/0.2098, allocations: 1.354 MB / 422.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.2099, allocations: 8.031 kB / 422.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003989/0.2138, allocations: 0.6477 MB / 423.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.2142, allocations: 419.1 kB / 423.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.2143, allocations: 70.38 kB / 423.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2144, allocations: 96.38 kB / 423.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.2156, allocations: 0.994 MB / 424.9 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.2156, allocations: 0 / 424.9 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.2157, allocations: 43.88 kB / 424.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.2157, allocations: 24 kB / 425 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.2169, allocations: 0.9253 MB / 425.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.2202, allocations: 3.445 MB / 429.3 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.222, allocations: 2.245 MB / 431.6 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.2223, allocations: 299.7 kB / 431.9 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.2224, allocations: 178.8 kB / 432 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.2225, allocations: 43.12 kB / 432.1 MB, free: 1.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 1.873e-06/0.2225, allocations: 0 / 432.1 MB, free: 1.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.001096/0.2236, allocations: 0.7173 MB / 432.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2236, allocations: 115.3 kB / 432.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.2238, allocations: 270.5 kB / 433.2 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.2238, allocations: 37.7 kB / 433.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2239, allocations: 374.6 kB / 433.6 MB, free: 440 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.124e-05/0.224, allocations: 232.7 kB / 433.8 MB, free: 204 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.2242, allocations: 130.6 kB / 433.9 MB, free: 68 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2243, allocations: 354.8 kB / 434.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.2247, allocations: 221.9 kB / 434.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.2252, allocations: 443.3 kB / 434.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009498/0.2262, allocations: 0.6872 MB / 435.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2262, allocations: 4 kB / 435.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001191/0.2274, allocations: 0.7488 MB / 436.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2274, allocations: 15.97 kB / 436.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2274, allocations: 4 kB / 436.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.2275, allocations: 15.98 kB / 436.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.2281, allocations: 183.7 kB / 436.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.2282, allocations: 15.94 kB / 436.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.2285, allocations: 83.2 kB / 436.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.2286, allocations: 32 kB / 436.7 MB, free: 13.1 MB / 314.7 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.0002312/0.2288, allocations: 231 kB / 436.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2289, allocations: 43.47 kB / 437 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.2301, allocations: 0.6439 MB / 437.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.2302, allocations: 11.98 kB / 437.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2302, allocations: 0 / 437.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2302, allocations: 0 / 437.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.2324, allocations: 1.479 MB / 439.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2324, allocations: 4 kB / 439.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/0.2329, allocations: 143.8 kB / 439.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2329, allocations: 4 kB / 439.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.233, allocations: 16 kB / 439.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.233, allocations: 7.938 kB / 439.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.233, allocations: 3.984 kB / 439.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.2355, allocations: 2.365 MB / 441.7 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.2356, allocations: 120.6 kB / 441.8 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.2357, allocations: 23.92 kB / 441.8 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.236, allocations: 20 kB / 441.8 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.2361, allocations: 40.5 kB / 441.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.2362, allocations: 19.98 kB / 441.9 MB, free: 7.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.2363, allocations: 186 kB / 442.1 MB, free: 7.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2363, allocations: 0 / 442.1 MB, free: 7.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006923/0.237, allocations: 247.1 kB / 442.3 MB, free: 7.277 MB / 314.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 (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.0002252/0.2372, allocations: 155 kB / 442.4 MB, free: 7.113 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008985/0.2382, allocations: 0.6066 MB / 443.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2382, allocations: 0 / 443.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.2386, allocations: 311.5 kB / 443.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.2391, allocations: 46.78 kB / 443.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.2412, allocations: 1.961 MB / 445.4 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.2417, allocations: 0.9164 MB / 446.3 MB, free: 3.211 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.242, allocations: 76.39 kB / 446.4 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2421, allocations: 55.42 kB / 446.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2422, allocations: 0 / 446.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of Templates: time 0.008514/0.2507, allocations: 4.721 MB / 451.1 MB, free: 14.37 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches