Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009814/0.0009814, allocations: 94.25 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.118/1.118, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001772/0.0001772, allocations: 4.234 kB / 307.7 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07086/0.07105, allocations: 51.53 MB / 359.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003028/0.07411, allocations: 3.4 MB / 362.6 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.07536, allocations: 1.005 MB / 363.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.07553, allocations: 19.88 kB / 363.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.07575, allocations: 119.2 kB / 363.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.0763, allocations: 270.7 kB / 364.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.0765, allocations: 119.9 kB / 364.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.07768, allocations: 1.646 MB / 365.8 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009064/0.07859, allocations: 0.9994 MB / 366.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.07899, allocations: 474 kB / 367.3 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.07957, allocations: 0.6417 MB / 367.9 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/0.07967, allocations: 72 kB / 368 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.07983, allocations: 76 kB / 368.1 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.08007, allocations: 350.7 kB / 368.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.08052, allocations: 0.639 MB / 369 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.08173, allocations: 1.912 MB / 371 MB, free: 1.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.08174, allocations: 0 / 371 MB, free: 1.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.08175, allocations: 0 / 371 MB, free: 1.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.08176, allocations: 3.938 kB / 371 MB, free: 1.461 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.1301/0.2119, allocations: 1.457 MB / 372.4 MB, free: 19.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2119, allocations: 8.75 kB / 372.4 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006675/0.2126, allocations: 177.3 kB / 372.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.2139, allocations: 0.8634 MB / 373.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.118e-05/0.214, allocations: 83.91 kB / 373.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.2142, allocations: 108 kB / 373.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.2167, allocations: 1.557 MB / 375.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2168, allocations: 0.5312 kB / 375.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/0.2169, allocations: 54.41 kB / 375.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.2169, allocations: 27.06 kB / 375.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.2188, allocations: 1.326 MB / 376.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005313/0.2241, allocations: 4.251 MB / 380.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008588/0.225, allocations: 1.327 MB / 382.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/0.2256, allocations: 468 kB / 382.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.2256, allocations: 5.125 kB / 382.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2256, allocations: 42.83 kB / 382.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.2257, allocations: 0 / 382.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.002662/0.2283, allocations: 1.974 MB / 384.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.2284, allocations: 57.19 kB / 384.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/0.2293, allocations: 0.8284 MB / 385.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.2293, allocations: 35.61 kB / 385.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.2296, allocations: 0.5385 MB / 386.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.054e-05/0.2297, allocations: 177.3 kB / 386.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.2297, allocations: 54.19 kB / 386.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.2298, allocations: 389.3 kB / 386.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.2302, allocations: 307.7 kB / 387 MB, free: 11.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.2307, allocations: 411.1 kB / 387.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007873/0.2315, allocations: 0.7199 MB / 388.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2315, allocations: 1.562 kB / 388.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001153/0.2326, allocations: 0.9252 MB / 389.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2327, allocations: 5.781 kB / 389.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2327, allocations: 3.438 kB / 389.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.2329, allocations: 115 kB / 389.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.2333, allocations: 127.7 kB / 389.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.2348, allocations: 2.171 MB / 391.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.2351, allocations: 35.38 kB / 391.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.2351, allocations: 18.47 kB / 391.6 MB, free: 8.711 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004154/0.2356, allocations: 456.2 kB / 392 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.389e-05/0.2357, allocations: 80.12 kB / 392.1 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.2358, allocations: 89.2 kB / 392.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.2358, allocations: 5.688 kB / 392.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2358, allocations: 1.375 kB / 392.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2358, allocations: 9.297 kB / 392.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.2382, allocations: 2.056 MB / 394.2 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2383, allocations: 5.391 kB / 394.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.2386, allocations: 84.7 kB / 394.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.2387, allocations: 112 kB / 394.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.2388, allocations: 16.98 kB / 394.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.2401, allocations: 2.125 MB / 396.6 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2401, allocations: 1.125 kB / 396.6 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.2414, allocations: 1.219 MB / 397.8 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.2415, allocations: 161.7 kB / 398 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.2416, allocations: 12.75 kB / 398 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.2419, allocations: 55.2 kB / 398 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.242, allocations: 43.81 kB / 398.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.2421, allocations: 19.77 kB / 398.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005212/0.2426, allocations: 0.5913 MB / 398.7 MB, free: 3.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2426, allocations: 0 / 398.7 MB, free: 3.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.2432, allocations: 213 kB / 398.9 MB, free: 3.711 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001071/0.2433, allocations: 106.9 kB / 399 MB, free: 3.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.2444, allocations: 0.8307 MB / 399.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2444, allocations: 3.938 kB / 399.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.2449, allocations: 0.49 MB / 400.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.2457, allocations: 167 kB / 400.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.2481, allocations: 2.753 MB / 403.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.2489, allocations: 1.336 MB / 404.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000355/0.2492, allocations: 189.8 kB / 404.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2494, allocations: 59.36 kB / 404.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2494, allocations: 0 / 404.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of Templates: time 0.01414/0.2635, allocations: 9.841 MB / 414.6 MB, free: 4.215 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches