Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001077/0.001077, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001594/0.002671, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007059/0.0007059, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009098/0.001616, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8836/0.8836, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.099/0.9826, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.832/1.832, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4636/2.295, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007e-05/1.151e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009717/0.009729, allocations: 12.01 MB / 0.7414 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004113/0.01384, allocations: 3.83 MB / 0.7451 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.01427, allocations: 112.3 kB / 0.7452 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007001/0.01497, allocations: 0.5276 MB / 0.7457 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.01612, allocations: 1.329 MB / 0.747 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009707/0.01709, allocations: 1.016 MB / 0.748 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.02023, allocations: 5.57 MB / 0.7535 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.02256, allocations: 3.217 MB / 0.7566 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.02479, allocations: 3.385 MB / 0.7599 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/0.02682, allocations: 2.652 MB / 0.7625 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.02717, allocations: 432 kB / 0.7629 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.02782, allocations: 0.5099 MB / 0.7634 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009556/0.02878, allocations: 1.715 MB / 0.7651 GB, free: 16 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0008767/0.02966, allocations: 1.143 MB / 0.7662 GB, free: 14.87 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.03173, allocations: 3.218 MB / 0.7694 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.03174, allocations: 0 / 0.7694 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of FrontEnd: time 7.41e-07/0.03174, allocations: 0 / 0.7694 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.108e-05/0.03178, allocations: 0 / 0.7694 GB, free: 11.64 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003317/0.03509, allocations: 3.941 MB / 0.7732 GB, free: 7.664 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.03512, allocations: 8.031 kB / 0.7732 GB, free: 7.656 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.03689, allocations: 0.8965 MB / 0.7741 GB, free: 6.742 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.03843, allocations: 1.568 MB / 0.7756 GB, free: 5.137 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.03853, allocations: 226.3 kB / 0.7758 GB, free: 4.914 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/0.03882, allocations: 296.3 kB / 0.7761 GB, free: 4.625 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.04123, allocations: 2.869 MB / 0.7789 GB, free: 1.469 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.04128, allocations: 12.08 kB / 0.7789 GB, free: 1.457 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.04146, allocations: 131.9 kB / 0.7791 GB, free: 1.328 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.04166, allocations: 208.6 kB / 0.7793 GB, free: 1.125 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.04272, allocations: 0.785 MB / 0.78 GB, free: 336 kB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007292/0.05001, allocations: 10.44 MB / 0.7902 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.05054, allocations: 0.5414 MB / 0.7907 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.0509, allocations: 332.5 kB / 0.7911 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.05095, allocations: 17 kB / 0.7911 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.05098, allocations: 48.34 kB / 0.7911 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/0.05098, allocations: 0 / 0.7911 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.007262/0.05824, allocations: 3.976 MB / 0.795 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.05827, allocations: 68.39 kB / 0.7951 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.05881, allocations: 0.892 MB / 0.7959 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.05887, allocations: 45.7 kB / 0.796 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.05929, allocations: 1.195 MB / 0.7972 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.05947, allocations: 396.5 kB / 0.7975 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.05969, allocations: 235.4 kB / 0.7978 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.05977, allocations: 365.8 kB / 0.7981 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.05996, allocations: 151.9 kB / 0.7983 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.06034, allocations: 0.5526 MB / 0.7988 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.06103, allocations: 0.8828 MB / 0.7997 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.06104, allocations: 7.938 kB / 0.7997 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001371/0.06241, allocations: 1.146 MB / 0.8008 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.06243, allocations: 12 kB / 0.8008 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.06244, allocations: 15.94 kB / 0.8008 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.06365, allocations: 0.5959 MB / 0.8014 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.06416, allocations: 247.6 kB / 0.8016 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.06821, allocations: 4.599 MB / 0.8061 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.06857, allocations: 40 kB / 0.8062 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.06862, allocations: 47.98 kB / 0.8062 GB, free: 4.66 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (125): * Single equations (assignments): 123 * 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 {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004158/0.06904, allocations: 200.4 kB / 0.8064 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.06918, allocations: 131.9 kB / 0.8065 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.0704, allocations: 0.9842 MB / 0.8075 GB, free: 3.324 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.07041, allocations: 12 kB / 0.8075 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.07041, allocations: 8 kB / 0.8075 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.07042, allocations: 3.984 kB / 0.8075 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.07293, allocations: 2.186 MB / 0.8096 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.07294, allocations: 4 kB / 0.8096 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.07322, allocations: 119.9 kB / 0.8098 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.07347, allocations: 222.9 kB / 0.81 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.07455, allocations: 0.5643 MB / 0.8105 GB, free: 132 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.0746, allocations: 24 kB / 0.8105 GB, free: 108 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.07839, allocations: 4.605 MB / 0.815 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.0784, allocations: 7.938 kB / 0.815 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.0796, allocations: 1.131 MB / 0.8161 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.18e-05/0.07969, allocations: 31.98 kB / 0.8162 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.07995, allocations: 20.12 kB / 0.8162 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.08008, allocations: 100.8 kB / 0.8163 GB, free: 9.961 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.08012, allocations: 24 kB / 0.8163 GB, free: 9.938 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002848/0.08041, allocations: 437.9 kB / 0.8167 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.08041, allocations: 0 / 0.8167 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009641/0.08137, allocations: 0.6055 MB / 0.8173 GB, free: 8.898 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 simulation (63): * Single equations (assignments): 61 * 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 {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.08152, allocations: 112.2 kB / 0.8174 GB, free: 8.781 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.08278, allocations: 1.281 MB / 0.8187 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.981e-05/0.08282, allocations: 40.41 kB / 0.8187 GB, free: 7.441 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008536/0.08368, allocations: 0.9621 MB / 0.8197 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.08578, allocations: 4.317 MB / 0.8239 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/0.11, allocations: 4.812 MB / 0.8286 GB, free: 12.37 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.1108, allocations: 0.7541 MB / 0.8293 GB, free: 11.58 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.0005185/0.1113, allocations: 172.6 kB / 0.8295 GB, free: 11.41 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/0.112, allocations: 395.1 kB / 0.8299 GB, free: 11.02 MB / 0.8074 GB Notification: Performance of SimCode: time 1.032e-06/0.112, allocations: 0 / 0.8299 GB, free: 11.02 MB / 0.8074 GB Notification: Performance of Templates: time 0.03917/0.1512, allocations: 30.19 MB / 0.8593 GB, free: 13.42 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.149781668558717]