Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.002052/0.002052, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002489/0.002489, allocations: 208.1 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 51.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2537, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01483/0.2685, allocations: 12.01 MB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008341/0.2768, allocations: 3.709 MB / 447.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.2793, allocations: 119.4 kB / 447.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01314/0.2924, allocations: 5.152 MB / 452.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.2977, allocations: 1.406 MB / 454 MB, free: 236 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.3013, allocations: 1.175 MB / 455.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009499/0.3108, allocations: 6.486 MB / 461.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01949/0.3303, allocations: 9.071 MB / 470.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006096/0.3364, allocations: 3.355 MB / 474.1 MB, free: 12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006942/0.3433, allocations: 3.729 MB / 477.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002767/0.3461, allocations: 0.8867 MB / 478.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004026/0.3501, allocations: 1.078 MB / 479.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003289/0.3534, allocations: 1.773 MB / 481.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006181/0.3596, allocations: 2.794 MB / 484.3 MB, free: 1.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.3754, allocations: 12.05 MB / 496.4 MB, free: 5.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3754, allocations: 0 / 496.4 MB, free: 5.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3754, allocations: 0 / 496.4 MB, free: 5.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003414/0.3757, allocations: 0 / 496.4 MB, free: 5.617 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.02232/0.398, allocations: 7.837 MB / 0.4924 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3981, allocations: 12.03 kB / 0.4924 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/0.4174, allocations: 2.873 MB / 0.4952 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009738/0.4271, allocations: 3.736 MB / 0.4989 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/0.4276, allocations: 489 kB / 0.4993 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/0.4296, allocations: 0.6171 MB / 0.4999 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/0.4491, allocations: 9.492 MB / 0.5092 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/0.4492, allocations: 11.95 kB / 0.5092 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006338/0.4499, allocations: 264 kB / 0.5095 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003256/0.4502, allocations: 313.4 kB / 0.5098 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.4651, allocations: 7.946 MB / 0.5175 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2583/0.7234, allocations: 24.07 MB / 0.541 GB, free: 85.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007014/0.7304, allocations: 3.914 MB / 0.5449 GB, free: 85.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.7322, allocations: 1.45 MB / 0.5463 GB, free: 85.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.7323, allocations: 69.17 kB / 0.5463 GB, free: 85.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.7324, allocations: 66.3 kB / 0.5464 GB, free: 85.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.569e-06/0.7324, allocations: 1.812 kB / 0.5464 GB, free: 85.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006383/0.7387, allocations: 4.023 MB / 0.5503 GB, free: 84.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.7388, allocations: 100.3 kB / 0.5504 GB, free: 84.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.7409, allocations: 1.964 MB / 0.5524 GB, free: 84.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.741, allocations: 68.7 kB / 0.5524 GB, free: 83.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009866/0.742, allocations: 2.64 MB / 0.555 GB, free: 82.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.7424, allocations: 0.8449 MB / 0.5558 GB, free: 81.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007981/0.7432, allocations: 0.6789 MB / 0.5565 GB, free: 81.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.7432, allocations: 305.1 kB / 0.5568 GB, free: 81.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.7448, allocations: 1.407 MB / 0.5581 GB, free: 80.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.7468, allocations: 2.604 MB / 0.5607 GB, free: 78.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/0.7505, allocations: 4.242 MB / 0.5648 GB, free: 75.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/0.7505, allocations: 14.59 kB / 0.5648 GB, free: 75.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005151/0.7556, allocations: 4.533 MB / 0.5693 GB, free: 72.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.7557, allocations: 20 kB / 0.5693 GB, free: 72.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/0.7557, allocations: 40 kB / 0.5693 GB, free: 72.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/0.7564, allocations: 307.5 kB / 0.5696 GB, free: 72.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/0.7586, allocations: 0.78 MB / 0.5704 GB, free: 71.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.7624, allocations: 4.747 MB / 0.575 GB, free: 66.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.7641, allocations: 417.1 kB / 0.5754 GB, free: 65.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.7643, allocations: 164 kB / 0.5756 GB, free: 65.75 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.002501/0.7668, allocations: 2.191 MB / 0.5777 GB, free: 63.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.7671, allocations: 220.7 kB / 0.5779 GB, free: 63.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.771, allocations: 3.171 MB / 0.581 GB, free: 60.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.771, allocations: 24 kB / 0.581 GB, free: 60.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.771, allocations: 11.94 kB / 0.5811 GB, free: 60.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.771, allocations: 11.95 kB / 0.5811 GB, free: 60.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.7834, allocations: 9.65 MB / 0.5905 GB, free: 50.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.7834, allocations: 12 kB / 0.5905 GB, free: 50.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.7849, allocations: 447.3 kB / 0.5909 GB, free: 49.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005484/0.7855, allocations: 269.8 kB / 0.5912 GB, free: 49.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.7856, allocations: 71.97 kB / 0.5913 GB, free: 49.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.7893, allocations: 4.67 MB / 0.5958 GB, free: 44.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.7893, allocations: 23.88 kB / 0.5958 GB, free: 44.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005169/0.7945, allocations: 5.01 MB / 0.6007 GB, free: 39.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009072/0.7954, allocations: 477.8 kB / 0.6012 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.7956, allocations: 63.98 kB / 0.6013 GB, free: 38.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7968, allocations: 127.8 kB / 0.6014 GB, free: 38.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.7971, allocations: 217.2 kB / 0.6016 GB, free: 38.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.7972, allocations: 87.97 kB / 0.6017 GB, free: 38.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001328/0.7985, allocations: 1.278 MB / 0.6029 GB, free: 37.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7985, allocations: 7.562 kB / 0.6029 GB, free: 37.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003377/0.8019, allocations: 1.459 MB / 0.6043 GB, free: 35.64 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.0003306/0.8022, allocations: 218.4 kB / 0.6046 GB, free: 35.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.8063, allocations: 3.499 MB / 0.608 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.8063, allocations: 7.938 kB / 0.608 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.8081, allocations: 1.599 MB / 0.6095 GB, free: 30.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.8105, allocations: 0.5044 MB / 0.61 GB, free: 29.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.8237, allocations: 10.08 MB / 0.6199 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003007/0.8267, allocations: 3.493 MB / 0.6233 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002623/0.8293, allocations: 1.195 MB / 0.6245 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.8298, allocations: 195.4 kB / 0.6246 GB, free: 14.55 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.8299, allocations: 0 / 0.6246 GB, free: 14.55 MB / 446.1 MB Notification: Performance of Templates: time 0.05868/0.8885, allocations: 35.8 MB / 0.6596 GB, free: 11.14 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.1120119243860245]