Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 168 kB / 25.02 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 158.6 MB / 186.8 MB, free: 2.863 MB / 170.7 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.434e-05, allocations: 6.312 kB / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.006761/0.006796, allocations: 3.408 MB / 253.8 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.009055, allocations: 0.9901 MB / 254.7 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.00927, allocations: 27.75 kB / 254.8 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.009654, allocations: 154.8 kB / 254.9 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009032/0.01056, allocations: 302 kB / 255.2 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.01092, allocations: 143.7 kB / 255.4 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.01295, allocations: 1.458 MB / 256.8 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.01402, allocations: 0.5717 MB / 257.4 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.01542, allocations: 0.9122 MB / 258.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.01662, allocations: 0.7014 MB / 259 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.01686, allocations: 156 kB / 259.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.01742, allocations: 156 kB / 259.3 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005298/0.01795, allocations: 486.6 kB / 259.8 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007462/0.01869, allocations: 0.5067 MB / 260.3 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.02131, allocations: 2.065 MB / 262.4 MB, free: 7.855 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.02132, allocations: 0 / 262.4 MB, free: 7.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.02132, allocations: 4 kB / 262.4 MB, free: 7.852 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.867e-05/0.02135, allocations: 0 / 262.4 MB, free: 7.852 MB / 250.7 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.003341/0.02469, allocations: 1.607 MB / 264 MB, free: 6.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.02475, allocations: 11.98 kB / 264 MB, free: 6.195 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.02519, allocations: 236 kB / 264.2 MB, free: 5.965 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.0266, allocations: 0.7805 MB / 265 MB, free: 5.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/0.0267, allocations: 82.59 kB / 265.1 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.0269, allocations: 108.4 kB / 265.2 MB, free: 4.969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/0.03033, allocations: 1.699 MB / 266.9 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.03035, allocations: 3.938 kB / 266.9 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.03048, allocations: 48 kB / 266.9 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.03051, allocations: 28 kB / 267 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.03298, allocations: 1.301 MB / 268.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007305/0.04029, allocations: 3.69 MB / 271.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.04136, allocations: 0.6137 MB / 272.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008063/0.04217, allocations: 438.8 kB / 273 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.0422, allocations: 8.5 kB / 273 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.04225, allocations: 39.06 kB / 273 MB, free: 12.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.04225, allocations: 0 / 273 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.004071/0.04632, allocations: 1.888 MB / 274.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.04637, allocations: 59.91 kB / 275 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.04756, allocations: 0.8046 MB / 275.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.04761, allocations: 33.7 kB / 275.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/0.04813, allocations: 0.5583 MB / 276.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.04831, allocations: 178.5 kB / 276.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.0485, allocations: 102.3 kB / 276.7 MB, free: 9.184 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.04877, allocations: 386.7 kB / 277 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005397/0.04931, allocations: 301.1 kB / 277.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/0.04996, allocations: 400.2 kB / 277.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.05116, allocations: 0.7021 MB / 278.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.05116, allocations: 0 / 278.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001858/0.05302, allocations: 0.935 MB / 279.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.05305, allocations: 4 kB / 279.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.05306, allocations: 7.938 kB / 279.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.05355, allocations: 108.8 kB / 279.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.05414, allocations: 127.9 kB / 279.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/0.05737, allocations: 2.23 MB / 281.8 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.05782, allocations: 28.02 kB / 281.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.05786, allocations: 19.94 kB / 281.9 MB, free: 3.773 MB / 266.7 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.0007612/0.05862, allocations: 469.4 kB / 282.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.05879, allocations: 91.53 kB / 282.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.05897, allocations: 86.83 kB / 282.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.05898, allocations: 8.062 kB / 282.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.05899, allocations: 4 kB / 282.5 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.059, allocations: 3.984 kB / 282.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.06243, allocations: 1.749 MB / 284.3 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.06243, allocations: 0 / 284.3 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.06284, allocations: 95.75 kB / 284.4 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.06315, allocations: 104.8 kB / 284.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.06319, allocations: 12.06 kB / 284.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.06593, allocations: 2.18 MB / 286.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.06593, allocations: 0 / 286.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.06826, allocations: 1.211 MB / 287.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.06849, allocations: 91.53 kB / 288 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.185e-05/0.06858, allocations: 15.94 kB / 288 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.06902, allocations: 52 kB / 288 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.06915, allocations: 44.42 kB / 288.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.06919, allocations: 12 kB / 288.1 MB, free: 13.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000871/0.07006, allocations: 0.5693 MB / 288.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07006, allocations: 0 / 288.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008121/0.07087, allocations: 208 kB / 288.8 MB, free: 12.58 MB / 282.7 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.0001737/0.07105, allocations: 115.1 kB / 289 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.07258, allocations: 0.7964 MB / 289.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.07258, allocations: 4 kB / 289.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008773/0.07346, allocations: 486 kB / 290.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.07438, allocations: 179.1 kB / 290.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.07839, allocations: 2.206 MB / 292.6 MB, free: 8.734 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009683/0.07936, allocations: 0.7407 MB / 293.4 MB, free: 7.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004634/0.07982, allocations: 185.5 kB / 293.5 MB, free: 7.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.07998, allocations: 48.5 kB / 293.6 MB, free: 7.723 MB / 282.7 MB Notification: Performance of SimCode: time 1.183e-06/0.07998, allocations: 0 / 293.6 MB, free: 7.723 MB / 282.7 MB Notification: Performance of Templates: time 0.1372/0.2172, allocations: 10.28 MB / 303.9 MB, free: 53.58 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.660347767057829]