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.001097/0.001097, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001169/0.001169, allocations: 169.7 kB / 25.33 MB, free: 9.461 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 0.8776/0.8776, allocations: 158.6 MB / 187.2 MB, free: 2.512 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.549e-05, allocations: 6.25 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005164/0.005189, allocations: 5.821 MB / 256.9 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.007706, allocations: 2.1 MB / 259 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.007953, allocations: 47.69 kB / 259 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.008543, allocations: 397.3 kB / 259.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007474/0.009291, allocations: 0.6016 MB / 260 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.009524, allocations: 227.7 kB / 260.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.01085, allocations: 2.377 MB / 262.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.01167, allocations: 1.044 MB / 263.7 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.0132, allocations: 1.609 MB / 265.3 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009432/0.01415, allocations: 1.185 MB / 266.4 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00023/0.01438, allocations: 284 kB / 266.7 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.01477, allocations: 371.8 kB / 267.1 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003821/0.01515, allocations: 0.7363 MB / 267.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005671/0.01572, allocations: 0.8692 MB / 268.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.01786, allocations: 2.029 MB / 270.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.01787, allocations: 3.984 kB / 270.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01787, allocations: 0 / 270.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.53e-05/0.01792, allocations: 0 / 270.7 MB, free: 15.8 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.003647/0.02156, allocations: 2.514 MB / 273.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.02161, allocations: 15.98 kB / 273.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008538/0.02246, allocations: 411.4 kB / 273.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.0241, allocations: 1.057 MB / 274.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-05/0.02419, allocations: 127.9 kB / 274.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.02442, allocations: 188.3 kB / 275 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.02716, allocations: 1.568 MB / 276.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.02719, allocations: 0 / 276.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.02736, allocations: 79.98 kB / 276.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.02747, allocations: 103.6 kB / 276.8 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.02916, allocations: 0.6143 MB / 277.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006324/0.03548, allocations: 5.963 MB / 283.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.03607, allocations: 401.8 kB / 283.7 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.03636, allocations: 209.8 kB / 283.9 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.0365, allocations: 48.41 kB / 284 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.03653, allocations: 41.89 kB / 284 MB, free: 2.074 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 3.527e-06/0.03653, allocations: 4 kB / 284 MB, free: 2.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.002288/0.03882, allocations: 1.27 MB / 285.3 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.03886, allocations: 85.61 kB / 285.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.03996, allocations: 1.175 MB / 286.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.03999, allocations: 33.7 kB / 286.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.04052, allocations: 1.098 MB / 287.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.04065, allocations: 214.3 kB / 287.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.04088, allocations: 260.4 kB / 288.2 MB, free: 13.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.04106, allocations: 0.5511 MB / 288.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.04129, allocations: 126.6 kB / 288.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.04193, allocations: 1.112 MB / 289.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.04295, allocations: 1.329 MB / 291.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.04297, allocations: 4 kB / 291.3 MB, free: 9.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001417/0.04439, allocations: 1.083 MB / 292.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.04441, allocations: 16 kB / 292.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.04443, allocations: 20 kB / 292.4 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/0.04489, allocations: 155.9 kB / 292.5 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.04539, allocations: 283.5 kB / 292.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.04686, allocations: 2.356 MB / 295.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.04744, allocations: 91.84 kB / 295.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.675e-05/0.04751, allocations: 68 kB / 295.3 MB, free: 5.652 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.0003692/0.04787, allocations: 248 kB / 295.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.04805, allocations: 151.1 kB / 295.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006102/0.04867, allocations: 444.6 kB / 296.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.04867, allocations: 8 kB / 296.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.04867, allocations: 3.938 kB / 296.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.04868, allocations: 7.984 kB / 296.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.05095, allocations: 1.9 MB / 298.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.05095, allocations: 4 kB / 298.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.05115, allocations: 95.83 kB / 298.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/0.05151, allocations: 123.8 kB / 298.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.05154, allocations: 19.92 kB / 298.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.05295, allocations: 2.321 MB / 300.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.05295, allocations: 0 / 300.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1125/0.1654, allocations: 0.7916 MB / 301.4 MB, free: 49.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.1658, allocations: 180.2 kB / 301.6 MB, free: 49.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.1659, allocations: 19.14 kB / 301.6 MB, free: 49.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.1662, allocations: 47.12 kB / 301.7 MB, free: 49.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.1663, allocations: 52.98 kB / 301.7 MB, free: 49.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.1664, allocations: 18.89 kB / 301.7 MB, free: 49.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008321/0.1672, allocations: 0.6453 MB / 302.4 MB, free: 49.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1672, allocations: 0 / 302.4 MB, free: 49.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001233/0.1684, allocations: 356.5 kB / 302.7 MB, free: 49.75 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.0004231/0.1688, allocations: 180.2 kB / 302.9 MB, free: 49.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.1701, allocations: 0.7671 MB / 303.7 MB, free: 49.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1701, allocations: 5.188 kB / 303.7 MB, free: 49.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.1705, allocations: 395.3 kB / 304.1 MB, free: 49.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/0.1713, allocations: 265.7 kB / 304.3 MB, free: 49.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.1755, allocations: 2.797 MB / 307.1 MB, free: 48.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.176, allocations: 0.5245 MB / 307.7 MB, free: 47.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006061/0.1766, allocations: 251.7 kB / 307.9 MB, free: 47.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.1768, allocations: 84.5 kB / 308 MB, free: 47.88 MB / 282.7 MB Notification: Performance of SimCode: time 1.713e-06/0.1768, allocations: 1.469 kB / 308 MB, free: 47.88 MB / 282.7 MB Notification: Performance of Templates: time 0.01962/0.1964, allocations: 16.45 MB / 324.4 MB, free: 37.89 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0920203858986497]