Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.00143/0.00143, 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.001459/0.001459, allocations: 163.4 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.441/1.441, allocations: 158.6 MB / 186.8 MB, free: 2.887 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.786e-05, allocations: 2.312 kB / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008244/0.008272, allocations: 5.256 MB / 255.6 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004434/0.01271, allocations: 2.038 MB / 257.7 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005908/0.0133, allocations: 43.69 kB / 257.7 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.01439, allocations: 401.2 kB / 258.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.01596, allocations: 0.59 MB / 258.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.01645, allocations: 239.6 kB / 258.9 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.01952, allocations: 2.372 MB / 261.3 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.02111, allocations: 1.028 MB / 262.3 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.0243, allocations: 1.586 MB / 263.9 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.02609, allocations: 1.079 MB / 265 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004152/0.02651, allocations: 288 kB / 265.3 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007241/0.02723, allocations: 371.8 kB / 265.6 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007808/0.02801, allocations: 0.7323 MB / 266.4 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.02951, allocations: 0.8498 MB / 267.2 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004711/0.03423, allocations: 3.841 MB / 271.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.03423, allocations: 0 / 271.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03423, allocations: 0 / 271.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.423e-05/0.0343, allocations: 0 / 271.1 MB, free: 15.13 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.005374/0.03968, allocations: 2.334 MB / 273.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.03974, allocations: 11.98 kB / 273.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.04079, allocations: 415.5 kB / 273.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.04314, allocations: 1.213 MB / 275 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.0433, allocations: 135.9 kB / 275.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.04364, allocations: 176.4 kB / 275.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005422/0.04906, allocations: 2.752 MB / 278.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.0491, allocations: 0 / 278.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.04929, allocations: 72 kB / 278.1 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.04944, allocations: 99.58 kB / 278.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/0.05345, allocations: 2.103 MB / 280.3 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.06578, allocations: 6.496 MB / 286.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.06721, allocations: 0.7076 MB / 287.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/0.06805, allocations: 446.8 kB / 288 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.06824, allocations: 40.48 kB / 288 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.06828, allocations: 43.05 kB / 288.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=52): time 2.194e-06/0.06829, allocations: 0 / 288.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.004937/0.07322, allocations: 2.145 MB / 290.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.0733, allocations: 81.61 kB / 290.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.07548, allocations: 1.351 MB / 291.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-05/0.07555, allocations: 41.7 kB / 291.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009549/0.0765, allocations: 1.013 MB / 292.7 MB, free: 8.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.07672, allocations: 198.4 kB / 292.9 MB, free: 8.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.07713, allocations: 246.7 kB / 293.1 MB, free: 8.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.07737, allocations: 353.9 kB / 293.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008602/0.07823, allocations: 454.3 kB / 293.9 MB, free: 7.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.07978, allocations: 1.12 MB / 295 MB, free: 6.316 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.08225, allocations: 1.62 MB / 296.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.08227, allocations: 15.94 kB / 296.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003591/0.08586, allocations: 1.743 MB / 298.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.08589, allocations: 12 kB / 298.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/0.08592, allocations: 24 kB / 298.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009011/0.08682, allocations: 189.2 kB / 298.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.08779, allocations: 283.4 kB / 298.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1152/0.203, allocations: 2.219 MB / 301.1 MB, free: 54.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.2042, allocations: 89.22 kB / 301.2 MB, free: 54.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.2043, allocations: 66.94 kB / 301.3 MB, free: 54.56 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001144/0.2055, allocations: 0.7034 MB / 302 MB, free: 54.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.2058, allocations: 154.3 kB / 302.1 MB, free: 54.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.2073, allocations: 0.8214 MB / 303 MB, free: 54.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.2073, allocations: 6.094 kB / 303 MB, free: 54.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2073, allocations: 2.016 kB / 303 MB, free: 54.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2073, allocations: 4.641 kB / 303 MB, free: 54.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.2107, allocations: 2.084 MB / 305.1 MB, free: 53.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.2107, allocations: 5.719 kB / 305.1 MB, free: 53.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.2111, allocations: 98.75 kB / 305.2 MB, free: 53.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007439/0.2118, allocations: 158.1 kB / 305.3 MB, free: 53.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.2119, allocations: 15.64 kB / 305.3 MB, free: 53.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.214, allocations: 2.174 MB / 307.5 MB, free: 51.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.214, allocations: 3.375 kB / 307.5 MB, free: 51.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.2159, allocations: 1.314 MB / 308.8 MB, free: 51.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/0.2163, allocations: 194.3 kB / 309 MB, free: 50.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.2165, allocations: 22.78 kB / 309 MB, free: 50.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.217, allocations: 48 kB / 309.1 MB, free: 50.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.2172, allocations: 50.06 kB / 309.1 MB, free: 50.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.2172, allocations: 19.58 kB / 309.2 MB, free: 50.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.2184, allocations: 0.8971 MB / 310 MB, free: 50.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2184, allocations: 0 / 310 MB, free: 50.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001522/0.2199, allocations: 345.2 kB / 310.4 MB, free: 50.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004114/0.2203, allocations: 188 kB / 310.6 MB, free: 50.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.222, allocations: 1.125 MB / 311.7 MB, free: 49.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.222, allocations: 1.375 kB / 311.7 MB, free: 49.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006836/0.2227, allocations: 0.4979 MB / 312.2 MB, free: 49.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.2239, allocations: 273.4 kB / 312.5 MB, free: 49.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.2279, allocations: 3.228 MB / 315.7 MB, free: 48.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008741/0.2287, allocations: 1.121 MB / 316.8 MB, free: 47.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006583/0.2294, allocations: 297.3 kB / 317.1 MB, free: 47.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.2296, allocations: 84.34 kB / 317.2 MB, free: 47.65 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2296, allocations: 0 / 317.2 MB, free: 47.65 MB / 282.7 MB Notification: Performance of Templates: time 0.02292/0.2525, allocations: 15.67 MB / 332.9 MB, free: 32.27 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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: 5.012228316976689]