Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9194/0.9194, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.89e-05, allocations: 6.25 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01371/0.01373, allocations: 13.01 MB / 286.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008243/0.02198, allocations: 3.981 MB / 290.4 MB, free: 0 / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.02371, allocations: 116.6 kB / 290.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005879/0.02959, allocations: 5.939 MB / 296.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.03273, allocations: 1.437 MB / 297.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.03442, allocations: 1.191 MB / 299.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004943/0.03936, allocations: 6.694 MB / 305.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008208/0.04757, allocations: 9.357 MB / 315.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003799/0.05137, allocations: 5.013 MB / 320.1 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/0.05481, allocations: 3.867 MB / 324 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.05612, allocations: 0.8867 MB / 324.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.05743, allocations: 1.089 MB / 326 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009958/0.05842, allocations: 1.834 MB / 327.8 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.06064, allocations: 2.421 MB / 330.2 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.06541, allocations: 6.167 MB / 336.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.06541, allocations: 0 / 336.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.06542, allocations: 0 / 336.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001154/0.06553, allocations: 0 / 336.4 MB, free: 1.609 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.008941/0.07447, allocations: 7.423 MB / 343.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.07451, allocations: 11.98 kB / 343.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009637/0.08414, allocations: 3.723 MB / 347.6 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.08716, allocations: 2.056 MB / 349.6 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.08738, allocations: 492.9 kB / 350.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006089/0.08799, allocations: 0.6171 MB / 350.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005278/0.09326, allocations: 5.133 MB / 355.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.665e-05/0.09336, allocations: 11.95 kB / 355.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003963/0.09376, allocations: 260 kB / 356.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.09396, allocations: 320.5 kB / 356.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.09723, allocations: 2.538 MB / 359 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/0.1145, allocations: 17.85 MB / 376.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/0.1176, allocations: 2.467 MB / 379.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.1183, allocations: 0.6388 MB / 379.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.1185, allocations: 81.94 kB / 380 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1185, allocations: 56.56 kB / 380 MB, free: 5.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 4.519e-06/0.1185, allocations: 4 kB / 380.1 MB, free: 5.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.002667/0.1212, allocations: 1.749 MB / 381.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1212, allocations: 99.11 kB / 381.9 MB, free: 3.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008638/0.1221, allocations: 1.292 MB / 383.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.148e-05/0.1222, allocations: 65.7 kB / 383.3 MB, free: 2.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008961/0.1231, allocations: 2.477 MB / 385.7 MB, free: 108 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.1235, allocations: 0.8367 MB / 386.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006192/0.1241, allocations: 0.6247 MB / 387.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.1242, allocations: 308.9 kB / 387.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.1247, allocations: 479.6 kB / 388 MB, free: 13.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/0.1256, allocations: 1.553 MB / 389.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.1272, allocations: 2.294 MB / 391.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.1272, allocations: 12 kB / 391.8 MB, free: 8.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002178/0.1294, allocations: 2.113 MB / 393.9 MB, free: 6.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.1295, allocations: 20 kB / 394 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.1295, allocations: 40 kB / 394 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.1299, allocations: 271.4 kB / 394.3 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.1313, allocations: 0.7292 MB / 395 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.1335, allocations: 3.628 MB / 398.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.1344, allocations: 361.2 kB / 399 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.1346, allocations: 128 kB / 399.1 MB, free: 1.453 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008012/0.1354, allocations: 343.3 kB / 399.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.1356, allocations: 195.8 kB / 399.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.1373, allocations: 1.513 MB / 401.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.1373, allocations: 24 kB / 401.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1373, allocations: 8 kB / 401.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.1374, allocations: 11.95 kB / 401.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006103/0.1435, allocations: 5.484 MB / 406.7 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.1435, allocations: 12 kB / 406.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007991/0.1443, allocations: 391.4 kB / 407.1 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/0.1447, allocations: 234.1 kB / 407.3 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/0.1447, allocations: 67.92 kB / 407.3 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.1469, allocations: 3.573 MB / 410.9 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.1469, allocations: 28.14 kB / 410.9 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.1489, allocations: 2.363 MB / 413.3 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/0.1493, allocations: 317.9 kB / 413.6 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.1495, allocations: 64.02 kB / 413.7 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/0.15, allocations: 75.98 kB / 413.8 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.1502, allocations: 209.2 kB / 414 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/0.1503, allocations: 63.98 kB / 414 MB, free: 1.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005264/0.1508, allocations: 0.5609 MB / 414.6 MB, free: 1.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1508, allocations: 0 / 414.6 MB, free: 1.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002366/0.1532, allocations: 1.46 MB / 416 MB, free: 15.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * 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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002814/0.1534, allocations: 219.5 kB / 416.3 MB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.1552, allocations: 1.869 MB / 418.1 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.022e-05/0.1553, allocations: 39.84 kB / 418.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008045/0.1561, allocations: 0.9832 MB / 419.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.1574, allocations: 0.511 MB / 419.7 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008739/0.1662, allocations: 8.533 MB / 428.2 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.1673, allocations: 1.125 MB / 429.3 MB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009391/0.1682, allocations: 397 kB / 429.7 MB, free: 1.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008614/0.1691, allocations: 0.5088 MB / 430.2 MB, free: 1.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1691, allocations: 4 kB / 430.2 MB, free: 1.234 MB / 378.7 MB Notification: Performance of Templates: time 0.1336/0.3027, allocations: 32.74 MB / 463 MB, free: 90.35 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.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.3119106641970575]