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.001371/0.001371, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.001555/0.001555, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.499/1.499, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001968/0.001968, allocations: 55.91 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2724, allocations: 53.42 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01441/0.2869, allocations: 12 MB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008083/0.2949, allocations: 3.707 MB / 448.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.2972, allocations: 119.4 kB / 448.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01253/0.3097, allocations: 5.167 MB / 453.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.3149, allocations: 1.394 MB / 454.8 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.3183, allocations: 1.175 MB / 456 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008433/0.3268, allocations: 6.494 MB / 462.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0141/0.3409, allocations: 9.056 MB / 471.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/0.346, allocations: 3.367 MB / 474.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006334/0.3523, allocations: 3.733 MB / 478.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00242/0.3548, allocations: 0.8867 MB / 479.5 MB, free: 7.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.3587, allocations: 1.07 MB / 480.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002805/0.3615, allocations: 1.773 MB / 482.3 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005667/0.3672, allocations: 2.798 MB / 485.1 MB, free: 1.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.017/0.3841, allocations: 12.05 MB / 497.2 MB, free: 5.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.3842, allocations: 0 / 497.2 MB, free: 5.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3842, allocations: 0 / 497.2 MB, free: 5.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005098/0.3847, allocations: 0 / 497.2 MB, free: 5.438 MB / 398.1 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.02492/0.4096, allocations: 7.84 MB / 0.4932 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4096, allocations: 15.98 kB / 0.4932 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02071/0.4303, allocations: 2.865 MB / 0.496 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009673/0.44, allocations: 3.759 MB / 0.4997 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005683/0.4406, allocations: 481 kB / 0.5001 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002385/0.443, allocations: 0.6171 MB / 0.5007 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02352/0.4665, allocations: 9.488 MB / 0.51 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000221/0.4667, allocations: 11.94 kB / 0.51 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/0.4681, allocations: 264 kB / 0.5103 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003757/0.4685, allocations: 317.4 kB / 0.5106 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/0.4864, allocations: 7.942 MB / 0.5183 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2739/0.7603, allocations: 24.08 MB / 0.5418 GB, free: 84.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00736/0.7677, allocations: 3.912 MB / 0.5457 GB, free: 84.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.7695, allocations: 1.45 MB / 0.5471 GB, free: 84.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.7697, allocations: 72.92 kB / 0.5471 GB, free: 84.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.7697, allocations: 63.53 kB / 0.5472 GB, free: 84.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.649e-06/0.7697, allocations: 0.6562 kB / 0.5472 GB, free: 84.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006603/0.7763, allocations: 4.019 MB / 0.5511 GB, free: 84.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.7764, allocations: 104.9 kB / 0.5512 GB, free: 84.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.7786, allocations: 1.96 MB / 0.5532 GB, free: 83.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.7787, allocations: 65.08 kB / 0.5532 GB, free: 83.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.7797, allocations: 2.639 MB / 0.5558 GB, free: 82.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/0.7802, allocations: 0.8544 MB / 0.5566 GB, free: 81.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007128/0.7809, allocations: 0.6732 MB / 0.5573 GB, free: 81.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.75e-05/0.7809, allocations: 305.1 kB / 0.5576 GB, free: 80.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.7825, allocations: 1.413 MB / 0.559 GB, free: 80.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.7844, allocations: 2.597 MB / 0.5615 GB, free: 78.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/0.7881, allocations: 4.248 MB / 0.5656 GB, free: 75.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/0.7882, allocations: 11.69 kB / 0.5656 GB, free: 75.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005303/0.7935, allocations: 4.539 MB / 0.5701 GB, free: 72.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.7935, allocations: 20 kB / 0.5701 GB, free: 71.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/0.7935, allocations: 40 kB / 0.5701 GB, free: 71.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006522/0.7942, allocations: 305.9 kB / 0.5704 GB, free: 71.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.7966, allocations: 0.7818 MB / 0.5712 GB, free: 70.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/0.8004, allocations: 4.741 MB / 0.5758 GB, free: 65.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.8025, allocations: 413.1 kB / 0.5762 GB, free: 65.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.8028, allocations: 164 kB / 0.5764 GB, free: 65.37 MB / 446.1 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.002709/0.8055, allocations: 2.191 MB / 0.5785 GB, free: 63.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.8058, allocations: 218.6 kB / 0.5787 GB, free: 62.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004085/0.8099, allocations: 3.171 MB / 0.5818 GB, free: 59.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.8099, allocations: 24.98 kB / 0.5818 GB, free: 59.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.8099, allocations: 8 kB / 0.5818 GB, free: 59.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.8099, allocations: 11.95 kB / 0.5819 GB, free: 59.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.8225, allocations: 9.648 MB / 0.5913 GB, free: 49.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.8225, allocations: 12 kB / 0.5913 GB, free: 49.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/0.8241, allocations: 444.2 kB / 0.5917 GB, free: 49.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005677/0.8246, allocations: 273.8 kB / 0.592 GB, free: 49.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.8248, allocations: 71.97 kB / 0.592 GB, free: 49.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003781/0.8285, allocations: 4.683 MB / 0.5966 GB, free: 44.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.8285, allocations: 19.94 kB / 0.5966 GB, free: 44.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005168/0.8337, allocations: 5.01 MB / 0.6015 GB, free: 38.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.8347, allocations: 481.8 kB / 0.602 GB, free: 38.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.835, allocations: 68.92 kB / 0.6021 GB, free: 38.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.8362, allocations: 123.8 kB / 0.6022 GB, free: 38.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.8365, allocations: 213.3 kB / 0.6024 GB, free: 38.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.8366, allocations: 87.97 kB / 0.6025 GB, free: 38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.8379, allocations: 1.278 MB / 0.6037 GB, free: 36.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8379, allocations: 4.062 kB / 0.6037 GB, free: 36.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003374/0.8413, allocations: 1.459 MB / 0.6051 GB, free: 35.26 MB / 446.1 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.0003769/0.8417, allocations: 221.8 kB / 0.6054 GB, free: 35.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004415/0.8461, allocations: 3.495 MB / 0.6088 GB, free: 31.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.8461, allocations: 4 kB / 0.6088 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.8479, allocations: 1.603 MB / 0.6103 GB, free: 29.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.8504, allocations: 0.5066 MB / 0.6108 GB, free: 29.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.8635, allocations: 9.951 MB / 0.6205 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.8663, allocations: 3.382 MB / 0.6238 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008757/0.8672, allocations: 239.4 kB / 0.6241 GB, free: 15.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/0.8672, allocations: 3.938 kB / 0.6241 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Templates: time 0.1627/1.03, allocations: 127.3 MB / 0.7484 GB, free: 168 kB / 0.545 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: 12.427015020977706]