Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008949/0.0008949, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001362/0.001362, allocations: 172.2 kB / 24.92 MB, free: 9.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9405/0.9405, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.543e-05, allocations: 2.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004616/0.004631, allocations: 5.761 MB / 279.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.007401, allocations: 2.165 MB / 281.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/0.007747, allocations: 59.56 kB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006545/0.008401, allocations: 389.4 kB / 281.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.009417, allocations: 0.6055 MB / 282.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.009699, allocations: 239.6 kB / 282.6 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.01112, allocations: 2.318 MB / 285 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009184/0.01204, allocations: 1.162 MB / 286.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.01361, allocations: 1.614 MB / 287.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009474/0.01455, allocations: 1.2 MB / 288.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.01488, allocations: 292 kB / 289.2 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.01525, allocations: 379.8 kB / 289.6 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000385/0.01563, allocations: 0.7441 MB / 290.3 MB, free: 308 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1007/0.1163, allocations: 0.8652 MB / 291.2 MB, free: 18.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.1182, allocations: 2.036 MB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1182, allocations: 0.7969 kB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1182, allocations: 0 / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.417e-05/0.1183, allocations: 0 / 293.2 MB, free: 17.91 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.002605/0.1209, allocations: 2.231 MB / 295.5 MB, free: 16.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1209, allocations: 9.234 kB / 295.5 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.1216, allocations: 361 kB / 295.8 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.1226, allocations: 0.8239 MB / 296.7 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.1227, allocations: 132.8 kB / 296.8 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.1229, allocations: 175.4 kB / 297 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.1245, allocations: 1.487 MB / 298.4 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.1245, allocations: 4.594 kB / 298.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.1246, allocations: 76.83 kB / 298.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-05/0.1247, allocations: 99.64 kB / 298.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.1255, allocations: 0.4971 MB / 299.1 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/0.13, allocations: 4.772 MB / 303.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.1304, allocations: 391.4 kB / 304.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.1306, allocations: 164.5 kB / 304.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.1307, allocations: 38.55 kB / 304.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1307, allocations: 47.12 kB / 304.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.824e-06/0.1307, allocations: 0 / 304.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001249/0.132, allocations: 0.8785 MB / 305.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.132, allocations: 84.86 kB / 305.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.1325, allocations: 0.9253 MB / 306.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1326, allocations: 33.7 kB / 306.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.1328, allocations: 0.9044 MB / 307.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.1329, allocations: 207 kB / 307.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.133, allocations: 232.3 kB / 307.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.1331, allocations: 356.3 kB / 308.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1332, allocations: 129.1 kB / 308.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1335, allocations: 0.7689 MB / 309 MB, free: 10.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.134, allocations: 0.9989 MB / 310 MB, free: 9.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.134, allocations: 7.844 kB / 310 MB, free: 9.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0007546/0.1348, allocations: 0.8469 MB / 310.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1348, allocations: 18.75 kB / 310.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.1348, allocations: 22.34 kB / 310.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/0.1351, allocations: 153.9 kB / 311.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.1355, allocations: 279.2 kB / 311.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008208/0.1364, allocations: 1.753 MB / 313.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.1368, allocations: 82.88 kB / 313.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.1368, allocations: 58.97 kB / 313.2 MB, free: 8.25 MB / 266.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.0002112/0.137, allocations: 205.5 kB / 313.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.1371, allocations: 95.83 kB / 313.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.1375, allocations: 362.8 kB / 313.9 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1375, allocations: 6.438 kB / 313.9 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1375, allocations: 0 / 313.9 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1375, allocations: 11.23 kB / 313.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.1387, allocations: 1.478 MB / 315.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1387, allocations: 0 / 315.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.1389, allocations: 99.05 kB / 315.5 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/0.1392, allocations: 117.3 kB / 315.6 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.1392, allocations: 20 kB / 315.6 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006975/0.1399, allocations: 1.761 MB / 317.4 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1399, allocations: 4 kB / 317.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.1404, allocations: 0.6154 MB / 318 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.1405, allocations: 134.4 kB / 318.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-05/0.1406, allocations: 15.98 kB / 318.1 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.1408, allocations: 44.02 kB / 318.2 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.1409, allocations: 50.39 kB / 318.2 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1409, allocations: 19.92 kB / 318.2 MB, free: 3.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.1412, allocations: 437 kB / 318.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1412, allocations: 0 / 318.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006813/0.1419, allocations: 351.9 kB / 319 MB, free: 3.074 MB / 266.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.000295/0.1422, allocations: 171.1 kB / 319.2 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.1427, allocations: 0.6346 MB / 319.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.748e-05/0.1427, allocations: 21.81 kB / 319.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.1429, allocations: 308.4 kB / 320.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.1435, allocations: 270.9 kB / 320.4 MB, free: 1.707 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1462, allocations: 2.732 MB / 323.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1466, allocations: 433.3 kB / 323.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000305/0.1469, allocations: 160.7 kB / 323.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/0.1473, allocations: 313.1 kB / 324 MB, free: 14 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1473, allocations: 0 / 324 MB, free: 14 MB / 282.7 MB Notification: Performance of Templates: time 0.02063/0.1679, allocations: 16.72 MB / 340.7 MB, free: 13.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.862234784755856]