Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 143.9 kB / 24.89 MB, free: 8.785 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8461/0.8461, allocations: 173.4 MB / 201.5 MB, free: 8.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 268.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.554e-05, allocations: 3.062 kB / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009026/0.009042, allocations: 12.99 MB / 281.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006388/0.01543, allocations: 3.926 MB / 285.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.01721, allocations: 119.4 kB / 285.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005915/0.02313, allocations: 5.942 MB / 291.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.02732, allocations: 1.584 MB / 293 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.0292, allocations: 1.073 MB / 294.1 MB, free: 84 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005567/0.03477, allocations: 6.589 MB / 300.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009775/0.04454, allocations: 9.362 MB / 310.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005028/0.04957, allocations: 5.008 MB / 315.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004056/0.05363, allocations: 3.872 MB / 318.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001653/0.05528, allocations: 0.8867 MB / 319.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.05726, allocations: 1.066 MB / 320.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.05863, allocations: 1.835 MB / 322.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002706/0.06134, allocations: 2.421 MB / 325.2 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004976/0.06631, allocations: 6.15 MB / 331.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.06632, allocations: 4 kB / 331.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.06632, allocations: 0 / 331.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.06647, allocations: 0 / 331.3 MB, free: 10.66 MB / 314.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.009547/0.07602, allocations: 7.406 MB / 338.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.07606, allocations: 12.03 kB / 338.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1131/0.1892, allocations: 3.745 MB / 342.5 MB, free: 51.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/0.193, allocations: 2.048 MB / 344.5 MB, free: 51.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.1933, allocations: 485.3 kB / 345 MB, free: 51.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008592/0.1941, allocations: 0.6217 MB / 345.6 MB, free: 51.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005962/0.2001, allocations: 5.117 MB / 350.7 MB, free: 50.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.2002, allocations: 8.062 kB / 350.7 MB, free: 50.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/0.2006, allocations: 266 kB / 351 MB, free: 50.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.2008, allocations: 315.3 kB / 351.3 MB, free: 50.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.2041, allocations: 2.531 MB / 353.8 MB, free: 50.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/0.2218, allocations: 17.83 MB / 371.7 MB, free: 39.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.2245, allocations: 2.468 MB / 374.1 MB, free: 37.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/0.2251, allocations: 0.6351 MB / 374.8 MB, free: 36.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.2252, allocations: 63.92 kB / 374.8 MB, free: 36.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2253, allocations: 64.22 kB / 374.9 MB, free: 36.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=238): time 4.629e-06/0.2253, allocations: 0 / 374.9 MB, free: 36.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.002402/0.2277, allocations: 1.739 MB / 376.6 MB, free: 34.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2277, allocations: 103.1 kB / 376.7 MB, free: 34.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/0.2285, allocations: 1.283 MB / 378 MB, free: 33.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.598e-05/0.2286, allocations: 65.7 kB / 378.1 MB, free: 33.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005339/0.2291, allocations: 2.478 MB / 380.6 MB, free: 31.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.2294, allocations: 0.8456 MB / 381.4 MB, free: 30.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/0.2298, allocations: 0.6042 MB / 382 MB, free: 30.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 2.414e-05/0.2299, allocations: 313 kB / 382.3 MB, free: 29.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.2303, allocations: 483.1 kB / 382.8 MB, free: 29.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.231, allocations: 1.534 MB / 384.3 MB, free: 27.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.2323, allocations: 2.297 MB / 386.6 MB, free: 24.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.2323, allocations: 8 kB / 386.6 MB, free: 24.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.001924/0.2342, allocations: 2.1 MB / 388.7 MB, free: 22.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.2342, allocations: 25.16 kB / 388.8 MB, free: 22.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.2342, allocations: 40 kB / 388.8 MB, free: 22.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/0.2347, allocations: 276.6 kB / 389.1 MB, free: 22.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.2359, allocations: 0.7204 MB / 389.8 MB, free: 21.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.2377, allocations: 3.63 MB / 393.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/0.2387, allocations: 367.6 kB / 393.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.2388, allocations: 128 kB / 393.9 MB, free: 17.7 MB / 314.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.0008923/0.2397, allocations: 345.4 kB / 394.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.2399, allocations: 199.8 kB / 394.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.2413, allocations: 1.524 MB / 396 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.2413, allocations: 24 kB / 396 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2413, allocations: 4 kB / 396 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.2413, allocations: 11.95 kB / 396 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005638/0.247, allocations: 5.406 MB / 401.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.247, allocations: 12.97 kB / 401.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/0.2478, allocations: 388.2 kB / 401.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/0.2481, allocations: 246.7 kB / 402 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.913e-05/0.2482, allocations: 59.98 kB / 402.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.2499, allocations: 3.576 MB / 405.7 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.2499, allocations: 23.45 kB / 405.7 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.2519, allocations: 2.355 MB / 408 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.2524, allocations: 312.7 kB / 408.4 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.2525, allocations: 59.98 kB / 408.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.253, allocations: 75.98 kB / 408.5 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.2532, allocations: 211.9 kB / 408.7 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.2533, allocations: 63.98 kB / 408.8 MB, free: 3.227 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004352/0.2537, allocations: 0.5639 MB / 409.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2537, allocations: 2.297 kB / 409.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002271/0.256, allocations: 1.455 MB / 410.8 MB, free: 1.273 MB / 314.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.0002821/0.2563, allocations: 211.5 kB / 411 MB, free: 1.094 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.2581, allocations: 1.869 MB / 412.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.234e-05/0.2581, allocations: 31.84 kB / 412.9 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.259, allocations: 0.9804 MB / 413.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.2603, allocations: 0.5124 MB / 414.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.273, allocations: 8.575 MB / 422.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.2744, allocations: 1.133 MB / 424.1 MB, free: 4.027 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001491/0.2758, allocations: 397 kB / 424.5 MB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.277, allocations: 0.4893 MB / 425 MB, free: 3.145 MB / 330.7 MB Notification: Performance of SimCode: time 1.764e-06/0.277, allocations: 8 kB / 425 MB, free: 3.137 MB / 330.7 MB Notification: Performance of Templates: time 0.05404/0.331, allocations: 32.21 MB / 457.2 MB, free: 3.398 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.22065795911476]